[JBoss-user] [JBossWS] - Re: jboss 4.0.2 serialization speed compare to jboss4.0.0

2006-03-05 Thread [EMAIL PROTECTED]
How does this compare to the latest jboss-4.0.x which uses jbossws?

cvs co -r Branch_4_0 jboss-4.0.x

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927994#3927994

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927994


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: jboss 4.0.2 serialization speed compare to jboss4.0.0

2006-02-22 Thread lepe
Did you ever find out a reason for the loss of performance?

/L

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925530#3925530

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925530


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: jboss 4.0.2 serialization speed compare to jboss4.0.0

2005-05-19 Thread singular_droid
I can email 2 jars - 4.0.2 and 4.0.0 versions of our webservice(with the 
minimal changes). But it uses hibernate3 and oracle legacy stored procs. This 
is ours ws4ee-deployment for jboss4.0.0:

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

And this is one for jboss4.0.2

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
First, when we transfer our ws to 4.0.2 we have changed hibernate-related part 
of ws(move it in separate .har), but after that(in order to find the 
bottleneck) we have downgrade it to previous version(single jar with hibernate 
and ejb classes). In that case there are two versions of our ws for jboss4.0.2 
- ear(with jar and har inside) and single jar. In both cases serialization is 
slow.
In order to illustrate junit results with timings we have start jboss and tests 
on the same machine, so in this tests client connects to localhost. First I 
want to say that we run this tests a lot of times so it's not a single moment 
jboss4.0.2 behavior.
This is the parts of code of statless session bean (ejbCreate() and public 
buisness method)

  | ...
  | public void ejbCreate() throws CreateException {
  | URL log4jConfig = DealerServiceBean.class
  | .getResource("/META-INF/log4j.xml");
  | DOMConfigurator.configure(log4jConfig);
  | logger.info("Logger initialized");
  | 
  | // Create the SessionFactory
  | sessionFactory = new Configuration().configure(
  | 
"/META-INF/jboss-hibernate.cfg.xml").buildSessionFactory();
  | }
  | ...
  | 
  | public PriceUpdateSoapBean[] getPriceUpdate(long p_log, long 
p_firstload) {
  | logger.info("into getPriceUpdateSoap()");
  | PriceUpdateSoapBean[] pusb = new PriceUpdateSoapBean[1];
  | session = sessionFactory.openSession();
  | Transaction tx = session.beginTransaction();
  | logger.debug("Tx at the beginning");
  | Query query = session.getNamedQuery("get_price_update");
  | query.setLong("in_log", p_log);
  | query.setLong("first_load", p_firstload);
  | logger.debug("after binding input values: in_log="+p_log+"; 
first_load="+p_firstload);
  | List l = query.list();
  | logger.debug("after executing");
  | pusb = (PriceUpdateSoapBean[]) l.toArray(pusb);
  | tx.commit();
  | logger.info("before return of PriceUpdateSoapBean[] with length 
of"+pusb.length);
  | return pusb;
  | }
  | 
This is the test for ws:

  | public void testGetPriceUpdateInLoop() throws Exception {
  | int tr = 10;
  | long[] tries = new long[tr];
  | for (int i = 0; i < tr; i++) {
  | logger.debug("try number:" + i);
  | factoryImpl = (ServiceFactoryImpl) 
ServiceFactory.newInstance();
  | 
  | Service service = factoryImpl.createService(new 
URL(endpoint),
  | new File(mapping).toURL(), new 
File(deployment).toURL(),
  | new 
QName("http://interfaces.service.dealer.zenith.ru";,
  | "DealerService"), null);
  | 
  | Integer p_log = new Integer(-1);
  | Integer p_firstload = new Integer(1);
  | Call call3 = (Call) service.createCall(new QName(
  | 
"http://interfaces.service.dealer.zenith.ru";,
  | "DealerServiceBeanEndpoint"), 
"getPriceUpdate");
  | long start = System.currentTimeMillis();
  | PriceUpdateSoapBean[] result = (PriceUpdateSoapBean[]) 
call3
  | .invoke(new Object[] { p_log, 
p_firstload });
  | long finish = System.currentTimeMillis();
  | tries=finish - start;
  | logger.debug("time:" + tries);
  | assertNotNull(result);
  | assertEquals(100, result.length);
  | }
  |   

[JBoss-user] [JBossWS] - Re: jboss 4.0.2 serialization speed compare to jboss4.0.0

2005-05-18 Thread [EMAIL PROTECTED]
Could you provide a sample deployment + unit test that proofs allows me to 
reproduce what you are seeing?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878207#3878207

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878207


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: jboss 4.0.2 serialization speed compare to jboss4.0.0

2005-05-18 Thread omatzura
Hi!

What are the signatures of your web-service methods in your ejb? Are you using 
jbossws serialization of java-objects or returning DOM elements/documents? Have 
you configured your own serializers?

regards!

/Ole

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878160#3878160

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878160


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user