The session facade should expose a cohesive set of methods related to some particular area of business functionality. Basically, the UserManagementBean I suggested could act as a session facade for entities such as User, UserGroup, and so on.
Will the session facade pattern will contain all entity bean or particular bean?
can a session bean use data of an entity bean?
Yes, you can do it with an entity bean. However, I would suggest letting the TripBean handle storing the total amount along with the individual expenses.
also the result of some processes say total amt has to stored ithe database...huv to do..thro' entity bean i guess...
Taglibs can be used to keep Java scriptlets from cluttering your JSPs.
Here what is the role of TagLib..as we r planning to use it...
You can store the page data into HttpSession while moving between the pages of a multi-page form. I wouldn't suggest submitting an incomplete set of data into the database.
As trip details can contain more the two pages...huv can i submit..seperately or both at a time,,considering the network overhead..
As many as you wish. You could save a lot of trouble if you can use Jakarta Struts, though, as it will provide you the necessary framework for the controller/action based front end.
Then huv many controller i can (usually one) in this scenario..
Planned to use Weblogic 5.1 ejb 1.1.(I can't to do nothing with this as its been finalized)
Where the data(user input if new user) are going to be sent --To Controller or javabean
If it is Controller ,it has to retrive all the data and sent to the corresponding bean which inturn to Ejb Layer...
What i feel is instead sending data to controller , send to javabean and let the bean store data and send it to Ejb ,when Controller calls the bean..
Originally posted by Lasse Koskela:
Deepak, it is very much true that a lot of EJB applications should've been written using plain servlets and JSPs. However, I got the impression that The Powers That Be were *dictating* the use of EJBs for this project...