Results 1 to 3 of 3

Thread: performance optimization when calling ejb and web service

  1. #1
    Join Date
    Feb 2009
    Posts
    8

    Default performance optimization when calling ejb and web service

    i am trying to develop an application which must process about 5000 record per minute and performance is extremely important.

    For every record, i will call a web service or remote ejb depending on the record type.

    i will call 15 different web services and 10 different EJBs.

    it is impossible to create ejb home object every time the record wants to access to ejb because of performance issue. i want to create ejb home object on first need and make it usable when other records need. (Also for web services, it is costy to create stub every time when i need to access a web service)

    i want to find out the appropritate good design. i need help about handling that issue with maximum performance.

  2. #2
    Join Date
    Feb 2009
    Posts
    8

    Default

    just only one remote object is enough in a multihread aplication or must i create more remote objects in my application?

  3. #3
    Join Date
    Aug 2009
    Location
    Colorado
    Posts
    26

    Default

    What type of EJB's? You may be able to cache the home objects using a component like ehcache ... I would get the system working first w/o caching, and then determine the bottlenecks. For instance the EJB's may be slower than creating the EJB connection.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •