Janak,

I read through the deployment guide before posting my first question.  After 
playing around with servlet settings I eventually got it running.

A few notes:
The AppletDevelopmentRunner has to be run as an application from Eclipse.  This 
should be noted somewhere in the API, or PDF files.  I kept trying to run it as 
an applet, and it was giving a ClassCastException.

The Deployment guide seems to be written for people with an understanding of 
servlets already.  I had no idea what the web.xml file options were.  I just 
mimicked the samples provided.  Another thing I've noticed is there is a lib 
folder in the application folder for client jars, and a WEB-INF/libs which 
contains server jars.  There isn't really any explanation of the differences 
between the two kinds of jars.

These are just a few things I noticed while going through the process.

Joe

----- Original Message ----
From: Janak Mulani <[EMAIL PROTECTED]>
To: Joe L <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Monday, December 18, 2006 3:53:39 AM
Subject: RE: [ULC-developer] Applet/Servlet Deployment

Hi Joe,

When the ULC client runs within a Browser as an Applet, ULCAppletPane is
used as the top-level container that uses an applet's content pane as
display area. While, in JNLP and stand alone modes ULCFrame is used as the
top level container.

AppletDevelopmentRunner enables testing of ULC applications (to be deployed
as applets) within the IDE. At development time, this eliminates the need to
deploy the application in a server and running the ULC client in a browser.

It is similar in concept to Java Applet Viewer.

For a demo, if you are using Eclipse, please try generating a ULC App using:

http://ulc-community.canoo.com/snipsnap/space/Eclipse+IDE+Integration .

This creates a sample skeletal app which includes a
AppletDevelopmentLauncher.

Also, please try the sample applications bundled with the release and look
at the code too.

Sample apps can be run by starting the bundled Tomcat server (where the
sample apps are deployed - tomcat\webapps\Root.war):

ulc-6.1.1\sample\startServer.bat and ulc-6.1.1\sample\startClient.html

(i.e. the "sample" dir within your ULC installation dir).

Moreover, please refer to the ULC Deployment Guide.

Thanks and regards,

Janak


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe L
Sent: Friday, December 15, 2006 4:23 AM
To: [email protected]
Subject: [ULC-developer] Applet/Servlet Deployment


I'm very new to applet and servlet development.  Please keep that in mind
when responding.

Let's start with the applet side of things.  I see there is an
AppletDevelopmentLauncher in the API.  It doesn't seem to work the same way
as the development launcher, as my application crashes when I try to use it.
Is there a demo of it somewhere that I could see to get this first basic
step working?

After this I'm going to need some help with the applet launcher also, but
that will require the servlet backend to be up and running.  I figured
getting the AppletDevelopmentLauncher running first was a good idea.  I'm
not sure how to do the whole applet/servlet thing either.  I have been able
to get apache and tomcat running on a machine here, which i know are
necessary.  I'll be asking questions as I'm going through the process.

I've been looking at the sample applications and trying to figure it out.
Most of the documentation looks like it was written for someone with an
understanding of applets and servlets to some extent already.

thanks
Joe


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com







__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to