• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Performance tips for Spring based WS on Glassfish

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I assumed this is the right place to ask because of many libraries/solutions used. I've WebService created with Spring (annotation based). WebService runs on glassfish v2.2 server and is preceeded by Apache server load-balancer. WebService itself validates SOAP request and pushes data from it to JMS queue. It's rather simple thing.

Problem was with performance - clients were able to shot more requests to the server than it could process at a time. So during the load-tests with SoapUI I assumed that using @Oneway annotation to perform async requests would be great idea (and it is - 400% performance boost). The problem with @Oneway though, is that it can't return any value and throw any Exception. So that could be potentially dangerous to not see if something is going wrong. So besides releasing new WSDL with additional async method, I want to tune Spring/Apache/Glassfish performance. Any ideas what look for or change? I have full access to configuration - Glassfish serves only as WebService server and JMS consumer. Spring is 3.0.6 and Apache is 2.2.13. Tips/resources/posts wolud be highly appreciated.

Thanks in advance,
Michal Piotrowski
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic