Appletviewer for tutorial?

1999-08-04 Thread Andreas Tille
Hello,

as a bloody beginner I want to start with suns Java tutorial.
To read and to test the examples I want to use the Netscape
Communicator (I use an up to date potato system).

If I try an example I get the following message:

 Note: Because the preceding applet uses the Swing 1.1 API, it
 requires Java Plug-in 1.1.2 or Java Plug-in 1.2. It won't work with
 Java Plug-in 1.1.1 or uncustomized 1.1 browsers. For more
 information about running applets in the tutorial, refer to About
 Our Examples. That page includes a section about Downloading Java
 Plug-in.

I hope that there is an application (appletviewer from JDK??) which
could do the job, because I want to bother my installation with
non-Debian packaged software.  What do I have to insert in my
mime.types file or any other to invoke the right application.

Kind regards

Andreas.



Re: Servlets, was Re: Various issues: kaffe, compilers, freeness, etc.

1999-08-04 Thread Stefan Gybas
Mark Wielaard wrote:

> That is nice to hear. I have our classes running with Apache JServ, but
> since neither Paul nor I run it in a production environment we have not
> advertised the library very much.

I've tested them one some sites and found no problems so far. I will
include them into my next Apache JServ package so the user doesn't have
to download Sun's classes any longer.

> Have you used it togheter with the class library and that free Kopi compiler?

I've used your classes with gnujsp 0.9.10 and jikes and everything seems
to work fine. I've not yet tested the gnujsp 1.0 snapshots.

> I have Debian running now on my system, but I have not been brave enough to
> install the unstable release to check if the GNUJSP Debian package really
> works.

Of course it works - I've made to package. ;-)) Oh, you want to know if
it works with your classes? Yes it does.

> GNUJSP and Apache JServ are in Contrib now. Would our classes (and the
> Kopi compiler) allow it to move to main?

With a free JVM and compiler, yes. My next upload will depend on
java-virtual-machine, but I don't know if it can be moved to main then
as no free package provides java-virtual-machine.

> And how can I package our Servlet class library for Debian?

You don't have to, I'll do it.

-- 
Stefan Gybas



Re: mod_jserv and the Java policy

1999-08-04 Thread Stefan Gybas
Stephane Bortzmeyer wrote:

> Since it is in Java, can you check it complies with
>  and/or make
> comments about the proposed policy?

Maybe we should add a section about where to put servlets, I've chosen
/usr/share/java/servlets in libapache-mod-jserv. We then could create
a virtual package java-servlet-engine once there are other servlet
engines.

> It should at least depends on java-common and may be on
> java-virtual-machine instead of the specific jdk, which is
> non-free.

Why should it depend on java-common? It requires a JVM, so a dependency
on java-virtual-machine should be enough. Your policy says:

> Packages written in Java are separated in two categories: programs
> and libraries. Programs are intended to be run by end-users. Libraries
> are intended to help programs to run and to be used by developers. Both
> MUST depend on java-common.

I suggest to change the last sentence to "Programs must depends on
java-virtual-machine, libraries on java-common or java-virtual-machine.".

> Libraries packages MUST be named lib-XXX-java. 

I'm strictly against this. I suggest java-XXX instead.

-- 
Stefan Gybas