Results 1 to 2 of 2

Thread: Avoiding RemoteException

  1. #1
    Join Date
    Jan 2007
    Posts
    10

    Default Avoiding RemoteException

    I already have build Desktop Project and have seperate layers for the persistence of the data.

    Now I am in a state to convert the whole Project into EJB. For the sake of the same I need to convert the present Stateful Classes into Statefull Session Classes but the problem is that I have used various methods of the Session Bean over various classes and so this would mean adding various try catch block for RemoteException. I had read in http://www.springframework.org/docs/reference/ejb.html where the SpringFramework enables avoiding the try catch block. Can anyone convey to me if that's possible in Jboss 4.0.5 and if yes then how?

    Thanks in advance

    CSJakharia

  2. #2
    Join Date
    Aug 2004
    Posts
    2,715

    Default

    As far as I know this is only possible for stateless session beans out of the box. Though, I proposed an extension to also support stateful beans. Have a look here.

    Regards,
    Andreas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •