Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
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:&nbsp; I have an application
that uses MS IIS and ASP for the presentation layer.&nbsp; Using RMI, the web
pages talk to a custom application server written in Java.&nbsp; 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.&nbsp; I need a
pattern to handle the session management for multiple users.&nbsp; I don't have
the luxury of J2EE design patterns or a 'pure' Java environment.&nbsp; 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.&nbsp; Transactions are
batched only for the user's browser session or until they submit the batch of
transactions to the application server.&nbsp; Any ideas or links would be
greatly appreciated.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you.</FONT></DIV>
<DIV><FONT face=Arial size=2>Chris Juettner</FONT></DIV>
<DIV>&nbsp;</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)

©2008 junlu.com - Jax Systems, LLC, U.S.A.