This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi Nidhi, How much comfortable are you with these technologies? If you have reasonable amount of knowledge of JSP/ Servlet and EJBs than i will recommend you to go for MVC architectute using struts framework. MVC (Model View Controller) architecture seperates Business logic completely from the presenation layer, something what you are looking for.
Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Hi Nidhi, This is John,I have a very good solution of ur problem.U want to separate the business logic with the presentation logic.Just do one thing Make one Ejb,Any (Entity bean,Session Bean).So,in all we made one component.Then Ur presentation parts come to picture.Now just built JSP pages for presentation purpose,and any extra data connection if needed.And Use Servlet wherever necessary,like if u wanna to check for login,there for internal logic u can use servlet.It's very easy to do.Once u got familiar with the beans part.
Joined: Feb 02, 2005
Now when u want to use the component. 1.Create the object for initial Context. 2.Lookup. 3.Create Remote Interface Object to access the business menthod.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: how to implement business logic in a java bean/ejb