What you say is absolutely right, but if you read the reflection API, this
should be used specifically for writing development tools like debuggers,
GUI builders etc. It should not be used in a general application. And the
other classes and interfaces are so exhautive that you should not find the
need to use the reflection API.
>From: help java <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Servlet communication with an exisiting java app
>Date: Sat, 21 Oct 2000 01:12:56 -0700
>
>i think , correct me, reflection is used for to know
>information ab't a class ,method or for parameter...
>
>
>
>
>
>--- Shital Kanitkar <[EMAIL PROTECTED]> wrote:
> > How do you mention reflection? I thought Reflection
> > was used very
> > specifically for writing development tools.
> >
> > -Shital
> > ----- Original Message -----
> > From: Catherine Jung
> > <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, October 20, 2000 1:27 AM
> > Subject: Servlet communication with an exisiting
> > java app
> >
> >
> > > Hi, I'm attempting to write some servlets to be
> > used as middlewar between
> > > an existing server side app, and a thin client.
> > The problem I'm having is
> > > trying to find an elegant way of getting my
> > servlet a reference to an
> > > already running java app in a separate JVM (or the
> > app a reference to the
> > > servlet).
> > >
> > > So far I've thought of sockets/RMI, get the the
> > app to request the servlet
> > > from the webserver, or possibly there's something
> > I could do with
> > > reflection, but they all seem a bit of a long way
> > around.
> > >
> > > I'm presuming that i'm going to end up using
> > sockets, but I remember
> > > someone on the list saying that he only used
> > servlets to pass information
> > > on the the business logic in normal java apps, so
> > I was wondering how
> > > that gentleman does it?
> > >
> > > Thankyou very much,
> > >
> > > Catherine Jung
> > >
> > > --
> > > Catherine Jung
> > Netcentric Systems
> > > Java Developer
> > www.netcentricsystems.net
> > > 07947 732436
> > 01223 839800
> > >
> > > The Contents of this email contains information
> > some or all of which is
> > > intended only for the addressed recipients. If a
> > transmission address
> > > error
> > > has misdirected it, please notify the sender by
> > reply. If you are not the
> > > intended recipient, you must not use it any way of
> > fashion and are equally
> > > bound not to disclose, distribute, copy, print or
> > rely on its contents.
> > >
> > >
> >
>___________________________________________________________________________
> > > To unsubscribe, send email to
> > [EMAIL PROTECTED] and include in the
> > body
> > > of the message "signoff SERVLET-INTEREST".
> > >
> > > Archives:
> >
>http://archives.java.sun.com/archives/servlet-interest.html
> > > Resources:
> >
>http://java.sun.com/products/servlet/external-resources.html
> > > LISTSERV Help:
> > http://www.lsoft.com/manuals/user/user.html
> > >
> >
> >
>___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED]
> > and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives:
> >
>http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
> >
>http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help:
>http://www.lsoft.com/manuals/user/user.html
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Messenger - Talk while you surf! It's FREE.
>http://im.yahoo.com/
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html