Māris Orbidāns wrote: > Hello > > I have several questions about design, "best practises": > > 1) Where to store client's profile information (like login name) ? > session or system state bean ? > > 2) How to create and use a system state bean ? > > System state bean should be in scope "session", shouldnt it ? > > 3) Where to put business logic (where I invoke JDBC) ? > Should business logic class be a bean ? > > thanx in advance > Maris Orbidans >
Hi Māris. 1) I am using an Entity Bean. 2) The following links would be good places to start; http://java.sun.com/j2ee/?frontpage-javaplatform http://www.orionserver.com/docs/index.html http://kb.atlassian.com - both the tutorials and the link on Entity EJB's. 3) Business logic in Entity Bean, Data Access Logic in DataAccessObject (generally a singleton), which entity bean has a reference to. -Steve -- Stephen Davidson Java Consultant Delphi Consultants, LLC http://www.delphis.com Phone: 214-696-6224 x208