Announcement Announcement Module
Collapse
No announcement yet.
Avoiding RemoteException Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X