Hi All, I would like to repeat this question: What is the best approach in order to deploy client web services on a server ? (since one doesn't need the container to run client web services...).
I can create a jar per client-group and run different client web services in a sequence directly from that jar. But this is the only way to deploy client web services ? Thanks. On Thu, 2007-07-06 at 12:51 -0400, Dragos Pavel wrote: > Hi All, > > Here are my main questions: > > 1) Is it possible to run client web services directly from a deployed > war package on JBoss application server ? > > 2) Is it possible to use JBoss connection pool for client web services > (and I mean specific client web services, not regular web services > published by me - this is working fine...) ? > > More details: > > I developed several client web services that I have to run in a certain > sequence. In the present I'm testing these client services standalone, > meaning not deployed on JBoss. What is the best approach in order to > deploy client web services on a server ? > > Another question is related to the scenario when I want to use JBoss > connection pool CMT for client web services. I successfully implemented > my own web service using the connection from JBoss connection pool and > leaving JBoss AS to manage the transactions (Container Managed > Transactions CMT). But when it comes to client web services I couldn't > find a way to use JBoss connection pool and I am wondering if this is > possible for the clients... I had to create the connections myself. > What is happening is that the client web services are running in a > separate JVM. I can use the JBoss CMP only for my own web services that > I deploy on the JBoss AS to be published and consumed by other remote > clients. When I create only client web services to consume somebody > else's web services then I can not use the connection pool from > JBoss ... > I can not run my client web services directly from the deployed war > ( because it's a .war and not .jar, if I change the extension to .jar > JBoss complains because he expects a .war). > So for now I run the client web services standalone (separate process , > separate JVM, I create the db connection , manage myself the > transactions and close conn at the end...) = meaning not deployed on > JBoss because I can't use the JBoss connection pool for them anyway = > and the reason for that is because my clients will run in a separate JVM > when started and the JNDI lookup will fail ... Have to be in the same > JVM and couldn't find any ref or docs specifying something like this ... > for the client to be able to point to the right JNDI service (the one on > the JBoss's JVM which bounded correctly all the DataSources). > For my own web service the JNDI lookup worked fine > and returned me the right InitialContext from the JVM , the one which > contains all the DataSources bounded correctly... > > Any suggestions will be warmly appreciated. > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
