my dog learned polymorphism*
The moose likes EJB and other Java EE Technologies and the fly likes Where to incorporate the business logic in a j2ee appliaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Where to incorporate the business logic in a j2ee appliaction" Watch "Where to incorporate the business logic in a j2ee appliaction" New topic
Author

Where to incorporate the business logic in a j2ee appliaction

Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188

Hi ,
I wanted to know what guidelines are to be followed when deciding as to where the business logic (Database procedures or EJB's) must reside in a meduim to large j2ee application ??
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30086
    
149

Side,
Both of those are valid choices for a J2EE application. It depends on your comfort level with vendor lock-in, relative expertise, reusability concerns, etc.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188

Hi
This is probably asking for too much !! But can anyone just give me a situation where writing code in a procedure would be more beneficial than writing code in a EJB in terms of scalability and reusablility or vice-a-versa (writing code in a EJB is more benefcial than in a procedure)

Also can you suggest a book or website which advises on the same ?

Thanks in advance !
 
Don't get me started about those stupid light bulbs.
 
subject: Where to incorporate the business logic in a j2ee appliaction
 
Similar Threads
J2EE Design Patterns - Process Layer VS Business Component
In MVC1 the controller is JSP where as in MVC2 the controller is servlet
Which tier does Business Delegate belong to?
Difference between Business Object and Business Delegate
Where goes business logic?