Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: Java Perl Integration



At the last TLUG The Perl Journal Japan feasibility study group,
participants received a few copies each of The Perl Journal
to be used to evaluate the scope of the project.  In Volume
2, Issue 4, Winter 97, page 11, there was an interesting
article on JPL, the Java-Perl Library.
http://perl.oreilly.com/prk_index.html

This looks really cool and an awesome way to embed Perl
in Java.  However, it seems to be commercial software.
Does anyone know of a free software project to do something similar?

I've been using OroMatcher and PerlTools from Original Resuable
Objects (http://www.oroinc.com) to get Perl 5 regular expressions
in my Java code.   However, it is not as simple as what JPL
has done.  

Being a slave to fashion, I've been using Java a bit, including
servlets using the Java-Apache project mod_jserv 0.9.10 
http://java.apache.org which extends the Apache server
and makes the servlets part of the server, avoiding the need
to start the JVM each time.  I've been thinking about how to
use this on the TLUG server.  It might be possible to 
let members run things like this in their home directory,
running as a standard user on a different port, in the higher
port range.   If they started the daemon with NOHUP, it should
be okay.  However, I was thinking about init.  Is there
some standard way for the system to look for user
generated init scripts at system initialization and
start it up?

This is my question.   I was thinking of a user named
craig for example...

   /home/craig/etc/init.d/apache

would be a startup script in the standard user's home directory.

  /home/craig/etc/httpd/httpd

would be the binary that the init script started up with 
something like nohup httpd 

 /home/craig/etc/httpd/conf/   

would be the configuration files for Apache which would
indicate a part like 8087 or something.  

I think that it is possible to run Apache as a standard user.
The user init script could be launched if the system init
script looked for the files and launched it.   Anyway, I 
was thinking that there might be a standard way to do this.
It would seem useful in research groups where individual
users want to have their own setup that does not mess
up the main programs. 

Regards,
Craig





------
craig@example.com    
PGP Public Key   http://www.twics.com/~craig/personal/pgp/

---------------------------------------------------------------
Next TLUG Nomikai: 11 March Wed 1998 Tengu TokyoEkiMae 19:30
Chuo-ku, Kyobashi 1-1-6, EchiZenYa Bld. B1/B2 03-3275-3691
Next TLUG Meeting: 11 April 1998 Saturday, Tokyo Station
Featuring Tague Griffith of Netscape i18n talking on source code
---------------------------------------------------------------
a word from the sponsor:
TWICS - Japan's First Public-Access Internet System
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links