Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where to incorporate the business logic in a j2ee appliaction

 
Sudarshan Sreenivasan
Ranch Hand
Posts: 188
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34837
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sudarshan Sreenivasan
Ranch Hand
Posts: 188
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic