This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB - Local interface

 
jacob deiter
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing an application which is layered as Presentation, Service layer and persistence ,all business logic in Service layer defined in POJOs only. Transaction and security are supported by spring framework, Now we want to implement EJB as Thin layer (local interface only) in between of presentation and service layer. The EJB layer does not have any business logic, it act as facade to service layer POJOs. Anyone has idea how to implement this EJB layer ,any psudo code is highly Appreciable
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This pattern is called a SessionFacade. Have a read of the Sun JEE patterns stuff.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic