Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help in understanding  RSS feed

 
Sri Addanki
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need help in understanding this statement:
"it is difficult to invoke EJBs behind firewalls"
what does this mean? Can someone explain this wrt Webservices?
Thanks
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This probably stems from the fact that most EJB containers use RMI, IIOP, or a proprietary protocol for the communication between the EJB stub (client) and skeleton (server). This is a problem because firewalls are generally configured to let only HTTP traffic through (ports 80 and possibly 8000/8080).
 
Howard Kushner
author
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sri Addanki:
Hi,
I need help in understanding this statement:
"it is difficult to invoke EJBs behind firewalls"
what does this mean? Can someone explain this wrt Webservices?
Thanks

Hello Sri,
That is an interesting statement. Here's my 2 cents. IMHO it is bad form for a client from outside the firewall to attempt to access EJBs. That said, an RPC router, perhaps in the form of a servlet will work rather nicely... probably in conjunction with a stateless session bean. That is how I would expose an EJB as a web service. And, by the way, WebSphere Studio Application Developer v5.0 has smart guides (aka wizards) that make it a snap.
Regards,
Howard Kushner
 
Howard Kushner
author
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a link to an article from another thread in the Web Services topic that may help in your understanding.
http://www7b.software.ibm.com/wsdd/techjournal/0310_brown/brown.html
Regards,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!