• Post Reply Bookmark Topic Watch Topic
  • New Topic

Connecting to the EJB tier from the presentation layer

 
Billy Vandory
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,

Does the presentation layer usually access EJB's remotely or locally? If locally, how is this decoupling the presentation layer?

thanks

 
Deepak Pant
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Local v/s Remote interface depends on separation of web container & ejb container as two different JVM processes.

Generally the application servers are smart enough to optimize the Remote interface usage if both web/ejb containers are co-located.

Either case you should decouple your presentation layer logic from business layer logic. You can follow so many JEE blueprints available on the web for this.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!