[JBoss-user] [JBossWS] - WSDL first to SLSB

2006-04-25 Thread pure
I develop webservices using the WSDL first technique. I use wscompile to generate the java classes needed. Is it possible to use the generated classes and deploy everything as a SLSB instead of a servlet. As i understand servlets are not pooled and it would be nice to get the pooling out of

[JBoss-user] [JBossWS] - Re: WSDL first to SLSB

2006-04-25 Thread pure
I am not interested at exposing and ejb as a webservice. I want to create an ejb from a WSDL file. As i understand it the wscompile tool can olny generate servlets and servlets are not pooled in jboss. I did not find an answer to that problem on the wiki page. View the original post :

[JBoss-user] [JBossWS] - Re: WSDL first to SLSB

2006-04-25 Thread pure
Thank you for the help. Will test this soon View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3939179#3939179 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939179 --- Using

[JBoss-user] [Clustering/JBoss] - Sticky sessions

2006-04-05 Thread pure
Hi! We have statless nodes with caching (non distributed) in a cluster. Is it possible with mod_jk to have a session returned to the same node based on a session id. Login will go to a random our roundrobin calulated node and then the session id is returned to the client. Calls that contains

[JBoss-user] [Clustering/JBoss] - Re: Sticky sessions

2006-04-05 Thread pure
Thank you.. that was the answer i was looking for. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3935210#3935210 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935210

[JBoss-user] [Performance Tuning] - Performance Monitoring

2005-10-09 Thread pure
Hi, How can i access performance stats for specific beans and their methods. ex: calls/sec , avg calls/sec , max calls/sec. I have a webservice that i would like to get realtime stats on usage. Is there any tutorial or sample code? . What service provides this data? Thanx! View the original

[JBoss-user] [JBossWS] - Re:

2005-10-02 Thread pure
Some samples: http://www.jboss.com/index.html?module=bbop=viewtopict=70194 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898368#3898368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898368

[JBoss-user] [JBossWS] - Re: Sample code for working: WSDL - Server

2005-10-02 Thread pure
Sorry about the multiple posts but here is how to compile: $ ant dist And then copy the war file from the bin directory to the deploy dir. JAVA_HOME has to be set for the stuff to work. Now its bedtime.. Best Regards Per View the original post :

[JBoss-user] [JBossWS] - Sample code for working: WSDL - Server

2005-09-30 Thread pure
Hi, I a sample the shows how to go from wsdl to server code. Maybe usefull to someone. Using ant, wscompile and JBoss 4.0.2 http://www.anyplanet.com/wsdltest.zip View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898260#3898260 Reply to the post :

[JBoss-user] [JBossWS] - Re: Sample code for working: WSDL - Server

2005-09-30 Thread pure
I have extended the test to use document/literal. I have also deployed and verified with a .NET client. http://www.anyplanet.com/wsdltest_doclit.zip View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898335#3898335 Reply to the post :

[JBoss-user] [JBossWS] - Re: Sample code for working: WSDL - Server

2005-09-30 Thread pure
Note: the first wsdltest.zip uses rpc/encoding which is deprecated. so the doclit is probably better. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898336#3898336 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898336

[JBoss-user] [Clustering/JBoss] - Sticky Sessions

2005-09-29 Thread pure
What does a HTTP load balancer stick on. Is it a sessionid cookie or a http header property? Is it possible for it to stick to something in a SOAP header? Why im asking is becouse it seems like webservices using EJB's does not seem to be able to access anything about the HTTP header only the

[JBoss-user] [JBossWS] - Re: Clustering Webservices

2005-09-28 Thread pure
Thank you for the replys. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897732#3897732 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897732 --- This SF.Net email is

[JBoss-user] [JBossWS] - Re: Clustering Webservices

2005-09-27 Thread pure
Is it possible to affect the HTTP header from a statless session bean that is exposed as a webservice? Where is it possible to do header insertion? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897370#3897370 Reply to the post :

[JBoss-user] [JBossWS] - Re:

2005-09-27 Thread pure
Hi! Did a test run. Dont know if it is usable yet but somethings are generated using jwsdp 1.6 Commandline: [EMAIL PROTECTED] wsdltest]$ wscompile.sh -import -keep config.xml | [EMAIL PROTECTED] wsdltest]$ ls test | MovieServiceAPI.class MovieService.class MovieService_Impl.java

[JBoss-user] [JBossWS] - Re:

2005-09-25 Thread pure
I havent done it but im going to do it soon on all our services. I think it is: wscompile -import -keep View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896955#3896955 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896955

[JBoss-user] [JBossWS] - Re: Working from WSDL

2005-09-25 Thread pure
Thanks for all replys. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896957#3896957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896957 --- SF.Net email is

[JBoss-user] [JBossWS] - Clustering Webservices

2005-09-25 Thread pure
We have planned to use a deploy our webservices as a cluster. I have looked in to the options of having a Http loadbalancer like apache or hardware. We have stateless session beans exposed as webservices and we have the session built in to the business logic wich means that we pass parameters

[JBoss-user] [Clustering/JBoss] - Performance

2005-09-25 Thread pure
Are there any benchmarks testing different loadbalancing options. Hardware, mod_jk or others? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896973#3896973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896973

[JBoss-user] [JBossWS] - Re: Working from WSDL

2005-09-17 Thread pure
Would really aprechiate some help on this. we are pretty stuck at the moment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895278#3895278 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895278

[JBoss-user] [JBossWS] - Working from WSDL

2005-09-12 Thread pure
I find it really hard to find examples on how to generate a statless session bean exposed as a webservice from a custom WSDL file using wscompile. Letting the container generate the WSDL is not an option becouse we really need to have control over the protocol. Our clients are based on several

[JBoss-user] [Persistence CMP/JBoss] - Hibernate Performance using webservices

2005-04-18 Thread pure
Hi! What we have: Stateless session beans exposed as webservices on jboss 4.0.1SP1 . We are going to deploy in a clustered environment with high performance requirements. The questions: Should we use hibernate with full relational mapping or just mapp single classes to tables without

[JBoss-user] [JBossWS] - Re: Problem generating mapping file

2005-04-14 Thread pure
Problem solved but would like to use ant task instead: | arg value=-mapping c:\jaxrpc-mapping.xml / | shoud be: | arg value=-mapping / | arg value=c:\jaxrpc-mapping.xml / | Cant get the ant task wscompile to work but i can call the bat file ... Any ideas of how to turn

[JBoss-user] [JBossWS] - Re: Problem generating mapping file

2005-04-14 Thread pure
It works fine with ANT now .. thanks for the replies... Here is a test build file that works... | project name='test' default=compile | | property environment=env / | | path id=wscompile.classpath | fileset dir=${env.JWSDP_HOME} |

[JBoss-user] [JBossWS] - Problem generating mapping file

2005-04-13 Thread pure
What i want to do: Generate wsdl file and a jaxrpc-mapping.xml file In ant i have the following code: | exec executable=C:\PF\jwsdp-1.5\jaxrpc\bin\wscompile.bat | arg value=-cp / | arg value=bin / | arg

[JBoss-user] [Performance Tuning] - Performance Question

2005-04-13 Thread pure
Hi! We are deploying an application on Jboss using JBossWS and an oracle db as a database. Hardware: DB: dual intel 3.0 GHz HT JBoss: dual intel 3.0 GHz HT Jboss version 4.0.1 jdk 1.5 We are aiming at achieving 300 requests/second. Is this possible? we are thinking about clustering

[JBoss-user] [JBossWS] - SessionBeans as webservices questions

2005-04-13 Thread pure
Hi! (jboss 4.0.1SP1 - JBossWS) I am deploying stateless session beans as webservices and i have a few questions. I have started out by using java2wsdl to generate wsdl files and then i have made a tool to generate ws4ee-deployment descriptors with type mappings and a jaxrpc-mapping.xml with

[JBoss-user] [Performance Tuning] - Re: Performance Question

2005-04-13 Thread pure
Hi! Its about 1-10 clients.. the clients are actually other servers that has user clients connected to them. RAM: 2 Gb on the Jboss server and 6Gb on the db.. Dont know about the timing on the sql queries. /Per View the original post :

[JBoss-user] [Beginners Corner] - Global application properties

2005-04-12 Thread pure
Hi! How do i deploy a property file or something similar in a way that i can access the properties from my stateless session beans without having to read them from a JAR,DB or file.. The file needs to be able to be edited with a text editor so it can not be included in the jar files.. Is JNDI