It's quite simple - there's an HttpUrlConnection - you should use it to send
a request to the servlet. Then you'll have to parse response - it's a bit
more complicated...
----- Original Message -----
From: "P i P O" <wsellado@(protected)>
To: <J2EEPATTERNS-INTEREST@(protected)>
Sent: Thursday, July 10, 2003 7:10 AM
Subject: [J2EEPAT-INT] EJB Calling a Servlet
> i know this is strange but.....i am
> just trying to adjust on the current
> system. a servlet is handling the login and
> logout which also initializes all the
> session for users. and here...i want to have
> a session bean that could login using that
> servlet. any idea from u? thanks in advance.
>
> pipo
>
> ====================================================================
> Community Web Site (Core J2EE Patterns Catalog - Online Version):
> http://java.sun.com/blueprints/corej2eepatterns
> Getting Started (Beta Version):
> http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/
> Get the book:
> http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20
> List Archive:
> http://archives.java.sun.com/archives/j2eepatterns-interest.html
> Unsubscribing:
> email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
>
====================================================================
Community Web Site (Core J2EE Patterns Catalog - Online Version):
http://java.sun.com/blueprints/corej2eepatterns
Getting Started (Beta Version):
http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/
Get the book:
http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20
List Archive:
http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing:
email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)