• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

How to implement Inter site communication using servlet?

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can any body explain how to implement inter-site communication using servlet ?

Scenario:

I have one Object or XML file which is part of website A and want to transfer it to website B.

Kind of Data Push and Pull mechanism.

Is it possible to implement without using web service.

Thanks in advance,
Bhavesh
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are lots of ways: RMI, email, messaging (JMS), file, database, HTTP, raw TCP/IP, etc. etc. Which of these might make sense (or are even possible) depends on the circumstances.
 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bhavesh,

This can be achieved using EJB session beans. EJB3 session beans can be exposed as web service, remote method or local method. Use servlet as EJB client. Using web service, client can be any application .NET application, remote think client application in any language or any web application or mobile application. In case of Remote EJB, client can be any client in java.

This may help. https://coderanch.com/t/468498/Web-Services/java/Design-Pattern-Migrate-BL-As
 
Bhavesh Dak
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Vish,

I have figured that WebServices are the most suggested technology for inter site communication.

So, Right now I have started to get my hands on the WebServices along with the Plain Java Beans.

Could you please suggest me reference or guide that make me learn it quickly which also makes my basic required fundamental clear ?

Regards,
Bhavesh Shah.





 
I guess everyone has an angle. Fine, what do you want? Just know that you cannot have this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic