• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

HTTP writeobject with Servet or RMI EJB ?

 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are retrieving datas with writeobject()(URLConnection) in client side:
-> Applet ------------Servlet -------------Database

If i used RMI with EJB rather than HTTP. Should it better for handling requests ?
Wich is the best for performance ?

I ask this question because we are using RESIN, and we see that when clicking in a node in a JTREE it takes times to have some details of this node in the screen.

Thanks for your suggestions.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The first question that occurs to me is:
What network do you have to move the objects over? Is it all inside a company LAN or do you have to serve outsiders over the Internet?
Bill
 
Engin Okucu
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) Both are used. There are several applications on 1 server(RESIN).
2) And is resin a good choise ? because there are much requests coming to the server.
 
Engin Okucu
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any suggestions ?
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you have to move objects both inside and outside the company net then Http is the logical choice to avoid firewall problems.

I have not used Resin but it has been around since the beginning and still seems to be well regarded. If you are comfortable with it, keep it. If performance is a problem, do some measurements before blindly changing servers, it is likely that the server process is only a tiny part of the total delay.

Bill
 
I knew I would regret that burrito. But this tiny ad has never caused regrets:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic