perl with java

2001-12-09 Thread nookala nagaraju
Hi! I'm a java programmer. I don't know anything about perl. I just want to know whether it's possible to call servlets from perl scripts after validating some data provided by the user. Thank you very much. nag. Nokia 5510

Re: perl with java

2001-12-09 Thread Brett W. McCoy
Tomcat running. They can behave just like CGI scripts and be the action of a form. There are also some ways of calling Java directly in Perl, using the Java.pm or Inline.pm modules, but I don't think they can handle servlets. -- Brett http

Re: perl with java

2001-12-09 Thread Perrin Harkins
mod_perl for an earlier handler and then use Tomcat for the content handler. There are also ways to directly call Perl from Java and vice-versa. It's ill-advised though. Hybrid solutions always have overhead involved in going from one to the other and they tend to combine the worst of both

Perl vs Java (XML Modules)

2000-12-05 Thread Matt Sergeant
On Tue, 5 Dec 2000, Drew Taylor wrote: I know this goes a little off topic, so I apologize in advance. I changed the topic for you :-) One big sticking point with Perl I'm just starting to run into is XML. Yes, Perl has great XML modules, and many more promising ones. But where is the

Re: Perl vs Java (XML Modules)

2000-12-05 Thread Drew Taylor
Matt Sergeant wrote: On Tue, 5 Dec 2000, Drew Taylor wrote: I know this goes a little off topic, so I apologize in advance. I changed the topic for you :-) But now it seems like flame bait ;-) One big sticking point with Perl I'm just starting to run into is XML. Yes, Perl has

RE: Perl vs Java (XML Modules)

2000-12-05 Thread Herrington, Jack
True. As for praise, XML::Parser does the job for me. In this specific case, I'll be looking for something like statusfailure/status in the response to an XML request I send. I'd like to pull out just the section that failed and be able to create another request from that XML chunk. It's a little

Re: perl vs java

2000-06-13 Thread Roger Espel Llima
Now, now...that is unfair. I was referring to writing in pure Perl vs pure Java. Of course, C apis and pre-written daemon integration makes the glue language a moot point (and favors Perl actually). Well, mine is pure perl. it can speak the protocol to integrate with a pre-written C irc

Re: perl vs java

2000-06-13 Thread Shane Nay
On Tue, 13 Jun 2000, you wrote: Now, now...that is unfair. I was referring to writing in pure Perl vs pure Java. Admittedly it's not completely fair :-). I admitted that I would do (have done) it in c. Given a choice between C and perl that is. But as you say in the next paragraph, Perl

Re: perl vs java

2000-06-12 Thread Roger Espel Llima
Gunther Birznieks [EMAIL PROTECTED] wrote: 2. Would you write a chat engine in Perl? I wouldn't! (Well, actually I did 5 years ago but I am certainly not proud of that code). I did, just a few months ago, and it's working very nicely. The thing about a real-time chat engine is the same

Re: Perl vs Java [Now OT]

2000-06-12 Thread Perrin Harkins
On Mon, 12 Jun 2000, Gunther Birznieks wrote: Unless you use a cluster of servers for load balancing and high availability, in which case you're right back where you started and you need the Java equivalent of Apache::Session::DBI. I imagine someone has written one in one of the many servlet

Re: perl vs java

2000-06-12 Thread Gunther Birznieks
Now, now...that is unfair. I was referring to writing in pure Perl vs pure Java. Of course, C apis and pre-written daemon integration makes the glue language a moot point (and favors Perl actually). BTW, is select() is still broken in Win32 Perl? It was 6 months ago (I suspect because IO

Re: perl vs java

2000-06-12 Thread Perrin Harkins
On Mon, 12 Jun 2000, Shane Nay wrote: If I were to write a new version of the chat engine I wrote, I wouldn't do it this way. In fact I started re-writing it based on a sigqueues, and CORBA. Shane, you are a maniac! You wrote a chat server using sigqueues and CORBA? Isn't that like killing

Perl vs Java

2000-06-11 Thread dreamwvr
hi, this could be a can of worms but anyhow here goes. Has anyone timed the actual efficiency of Perl vs Java? Reason being is i wrote a state engine as a perl module that seemed quite fast ~ 0.33 to 0.54 of a second for slurping up values. With recall being about .25 to .35 of a second

Re: Perl vs Java

2000-06-11 Thread Matt Sergeant
On Sun, 11 Jun 2000, dreamwvr wrote: hi, this could be a can of worms but anyhow here goes. Has anyone timed the actual efficiency of Perl vs Java? Reason being is i wrote a state engine as a perl module that seemed quite fast ~ 0.33 to 0.54 of a second for slurping up values

Re: Perl vs Java

2000-06-11 Thread dreamwvr
hi, thanks.. well i walked into that one;-)) anyways really was trying to see which was better from a web serving point of view.. in maintaining state between cgi pages.. since i have not done any real java proggies since the first year of jdk coming out i really was surprised how fast it

Re: Perl vs Java

2000-06-11 Thread Gerd Knops
dreamwvr wrote: hi, this could be a can of worms but anyhow here goes. Has anyone timed the actual efficiency of Perl vs Java? [cut] I found this of some interest: Computer Languages compared http://wwwipd.ira.uka.de/%7Eprechelt/documents/jccpp_tr.pdf Gerd

Re: Perl vs Java

2000-06-11 Thread Perrin Harkins
On Sun, 11 Jun 2000, Matt Sergeant wrote: There are posts in the archive about this. Here's a quick summary: You can make Java slow. You can make mod_perl slow. Java (servlets, jsp, etc) can use a lot of memory. mod_perl can use a lot of memory. Servlets can be very fast. mod_perl can be

Re: Perl vs Java

2000-06-11 Thread dreamwvr
hi Gerd, that was very much what i was looking for! hmm.. seems that perl is definately one of the most mem efficient langs whereas java is not. cool and definately great reading although "talk about detail!" this is good! Java has become acceptable for a compiled language. now here

Re: Perl vs Java [Now OT]

2000-06-11 Thread Gunther Birznieks
They pretty much all support Perl. Very few if any would ever support mod_perl at US$10/month. There is a list of ISPs in the guide (or on the web site?) that support mod_perl, but you have to expect to pay more than US$10/month for those services. At 12:53 PM 6/12/00 +1000, Peter Skipworth