Chris Ward <[EMAIL PROTECTED]> writes:

> I'm not using J2EE.  That's another issue really, as my system grows
> I often wonder if it's outgrown the single-Tomcat, servlet/JSP
> environment.
> I've never used JMS - is this J2EE only? (I'll Google it later to see).
> I'm cranking out all of this stuff on my own, with no other Java
> developers
> in the company - so a move to J2EE would mean a massive upheaval.

There are specific reasons to use J2EE. It doesn't sound like you've
got any need to move.

It's only people in the Java world who worry about this stuff. People
running opensource solutions (mod_python, mod_perl, php, etc...) don't
worry about whether their applications need to be supplemented by some
"enterprise" rubbish.

So my advice is: unless you're implementing highly transactional and
distributed components then don't worry about "enterprise java".

Of course, you might still be able to use JMS on top of your queuing
system. See your queuing supplier.


> I can see how using a Session could be a way forward but I'll need to
> play with it before the penny drops.  I guess I need to set some sort
> of polling up on the session to detect when complete - I don't want the
> user to have to do anything.

You don't have to use a Session. It's just a convieniant marker place
for recording the 'transaction'. You could use a class scope Hash in
the servlet.

However, in Servlet programming Sessions are used quite a lot (and
often incorrectly in my opinion) so if you don't know much about them
you might want to play with them.



> I'm going to go and study these replies again!  Thank again all - I
> may have some follow-up questions.

Cool. I won't be around much longer (I'm retiring from
servlet-interest soon) but I'll make an announcement about that soon.


--
Nic Ferrier
http://www.tapsellferrier.co.uk

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to