Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes EJB - Local interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB - Local interface" Watch "EJB - Local interface" New topic

EJB - Local interface

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
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

Joined: Apr 14, 2004
Posts: 10336

This pattern is called a SessionFacade. Have a read of the Sun JEE patterns stuff.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: EJB - Local interface
Similar Threads
Design Issues
Part 2: Entity Beans or DAO?
Why servlet in WebApplication
EJB Stateless Session Bean with DAOs
implementing business logic for web services app