  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Subject: Session pattern for non-J2EE | Subject: Session pattern for non-J2EE 2004-07-23 - By Chris Juettner
Back Here's my challenge: I have an application that uses MS IIS and ASP for the presentation layer. Using RMI, the web pages talk to a custom application server written in Java. We have found that a new enhancement architecture does not support multiple users because the transaction event class is instantiated at startup which causes the same instance of the event class to get updated by multiple users. I need a pattern to handle the session management for multiple users. I don't have the luxury of J2EE design patterns or a 'pure' Java environment. I would like to not have to pass a user session id around on the query string or using a database to save the objects associated with each user. Transactions are batched only for the user's browser session or until they submit the batch of transactions to the application server. Any ideas or links would be greatly appreciated.
Thank you. Chris Juettner
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1" http-equiv=Content-Type> <META content="MSHTML 5.00.3700.6699" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Here's my challenge: I have an application that uses MS IIS and ASP for the presentation layer. Using RMI, the web pages talk to a custom application server written in Java. We have found that a new enhancement architecture does not support multiple users because the transaction event class is instantiated at startup which causes the same instance of the event class to get updated by multiple users. I need a pattern to handle the session management for multiple users. I don't have the luxury of J2EE design patterns or a 'pure' Java environment. I would like to not have to pass a user session id around on the query string or using a database to save the objects associated with each user. Transactions are batched only for the user's browser session or until they submit the batch of transactions to the application server. Any ideas or links would be greatly appreciated.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Thank you.</FONT></DIV> <DIV><FONT face=Arial size=2>Chris Juettner</FONT></DIV> <DIV> </DIV></BODY></HTML> ==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|
 |