wood burning stoves 2.0*
The moose likes Performance and the fly likes lan component expose via ejb, or servlet or rmi Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "lan component expose via ejb, or servlet or rmi " Watch "lan component expose via ejb, or servlet or rmi " New topic
Author

lan component expose via ejb, or servlet or rmi

Tushar Kapila
Ranch Hand

Joined: Dec 23, 2007
Posts: 35

hi

we have a working component that does data encryption. it talks to a hsm. so its client-webapp-jvm ---talks-to--> component-in-its-own-jvm ---talks-to--> hsm

We use it via a custom home grown client library that uses a socket cache to connect to the component deployed on another system on our lan built using quickserver.org

Works great for 3-4 TPS for a few days and then we have memory and occasionally socket issues.

we are right now mostly on windows and slowly migrating to linux (next 6-8 months hope to be all linux)


We are trying to improve performance, one idea is to put the component in our own jvm.

As a fall back - want to improve the component. does anyone have bench marks ? should we use a plain GenericServlet under jboss since its all in the same lan - and is there any open source client out there for that?

or use ejb or rmi?

FYI java 1.6 with the client web app on jboss 4

thank you




http://thehungersite.com | http://www.worldcommunitygrid.org/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: lan component expose via ejb, or servlet or rmi
 
Similar Threads
JBoss as a RMI Server
Apache Authentication / LDAP Authorization Question
Chapter 2 (HFSJ) notes , may be useful for anyone
Use of sockets through RMI
is EJB(stateful and stateles) and JMS connection oriented(TCP/IP) or connectionless?