Re: Can OpenJMS be embeded in to a web application ?

Ken M <wgold-WNUMbkg7HQH83n0zhJamUgC/[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
I can answer to #2 -- Yes.

We embed OpenJMS inside a Tomcat web application just fine. 

If you want to run the OpenJMS server standalone - then you only need to 
include the OpenJMS client jars into the web application and point the 
clients to your OpenJMS server..

If you want to ember the catual OpenJMS server into your web app then 
you simply need to instantiate and initialize the server yourself 
programatically at web app init() and point your producer/consumers to 
your localhost.

K


... Please tell me your name is a nickname :P

Legolas Woodland wrote:

> Hi
> Thank you for reading my mail
> I should write an application which should handle 20-30 Tra / second .
> as i fear that my database (embeded derby) or the Host server can not 
> handle this rate , i want to embed
> OpenJMS into my web application , pass some of sql statement as a 
> message to a queu in  OpenJMS  and then fetch and execute them one-by 
> one or in a batch mode.Each trans Action has 2 insert and 2 update 
> statement , total number of database table will not pass 20 .
>  
> now my question is :
> 1-Can OpenJMS  handle this rate of messages ,
> 2-Can it become embeded into A tomcat web application ? (think that i 
> have no right to change the Tomcat server).
> 3-if it does not support , can you pleas tell me is there any JMS 
> implementation that support embeding ?
>  
>  
> Thank you




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.