Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Remote and local interfaces in EJB3  RSS feed

 
Justin Chu
Ranch Hand
Posts: 209
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my opinion, the most challenging part of developing EJB is dealing with local interfaces, remote interfaces and value objects. Method signatures are often specific to local/remote interfaces.

How has that changed in EJB3?
 
Reza Rahman
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chu:

Yes, things have changed dramatically in this regard in the sense that local and remote interfaces are now POJI. No more extending EJBObject or EJBLocalObject. No more RemoteException throws clauses. In general, the only diference between a local and a remote inteface is whether it is marked with a @Remote or @Local annotation. For remote interfaces, Value Objects still need to be serializabl, though. In any case, this is good practice anyway.

Reza
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!