Re: Minimal server
On May 23, 2005, at 22:15, Dola Woolfe wrote: Can this be done? I basically want to program to have a thread that listens to some port and launches a servlet when a request is made. Sure. But perhaps something like Jetty, or Simple would be more appropriate. http://jetty.mortbay.org/jetty/ http://simpleweb.sourceforge.net/ Here is an example of an application with uses Simple as an embedded HTTP engine: http://zoe.nu/ Screenshots: http://zoe.nu/itstories/story.php?data=stories&num=23&sec=2 Download: http://zoe.nu/itstories/story.php?data=stories&num=24&sec=3 Source code: http://dev.alt.textdrive.com/browser/ZOE/ Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ugly urls
On Mar 23, 2005, at 17:47, Didier McGillis wrote: I wanted to see if in JSP or Tomcat there was an easy way to transform ugly urls into pretty urls. So taking category.jsp?catid=12&type=2 and changing it to category/catid/12/type/2? What about creating "pretty URLs" in the first place? "Choose URIs wisely" http://www.w3.org/TR/chips/#gl1 "URL as UI" http://www.useit.com/alertbox/990321.html Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: url of caller?
On Mar 22, 2005, at 15:13, Pawson, David wrote: public java.lang.String getRequestURI() is the 'current' page, I need the calling page. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.36 Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using hibernate
On Mar 13, 2005, at 19:00, haim wrote: We are planing to use object/relational persistence and query service like hibernate or Castor JDO. Does anyone have any recomaidations for the above? Take a serious look at Cayenne: http://www.objectstyle.org/cayenne/ Much nicer than Hibernate in my opinion. Cayenne is the open source sibling of NeXT's Enterprise Object Framework: http://c2.com/cgi/wiki?EnterpriseObjectsFramework Which is still somewhat available from Apple: http://developer.apple.com/documentation/WebObjects/Enterprise_Objects/ index.html Does anyone has good/bad experience using similar technologies? Yes. Both. Most of the time those O/R mapping tools are overkill. YMMV. Have you considered _not_ using a SQL database in the first place? Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat vs Jetty
On Feb 12, 2005, at 06:20, Peter Lin wrote: For those who are curious. I decided to run apache AB against jetty to see if there are any differences. If you are into this kind of micro-benchmarks, take a look at Simple: http://simpleweb.sourceforge.net/ Niall Gallagher ran some comparisons between Apache, Resin and Tomcat: http://simpleweb.sourceforge.net/performance/comparison.php Quite instructive :P Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I guess this is a BUG!!!
On Feb 01, 2005, at 19:36, micky none wrote: Can anyone please tell me if it's a BUGi think it is one. Then... your faith is sealed. Repent. Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Modifying Reply-To header in list messages
On Jan 20, 2005, at 05:29, Antony Paul wrote: What people here think about this article. "Chip Rosenthal Considered Harmful"?!? Regarding "Munging"... well... in short... the entire email chain is very much about "munging" in the first place... Is this acceptable ? Oh, my... a question as old as mailing lists themselves... as someone as already pointed out... one of the main point of a mailing list is, well, to post to it... in that sense "reply-to" is a "good thing"... all things being equal... Cheers -- PA http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Consulting Position in Costa Mesa, CA,
On Jan 14, 2005, at 17:45, Mladen Turk wrote: Also, seems that everybody has received those emails, so if that's not the spam then what is it? It's a business proposition! Like the ones I constantly receive from those charming gentlemen in Lagos, Nigeria :o) Indeed lists 2,713 hits for "tomcat": http://www.indeed.com/search?q=tomcat&l= And 24 around Costa Mesa, CA itself: http://www.indeed.com/search?q=tomcat&l=Costa+Mesa%2C+CA The bubble is back! Cheers -- PA http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Authentication - Best practice
On Jan 12, 2005, at 13:04, Nikola Milutinovic wrote: SSL is encryption using asymetric+symetric encryption. Asymetric is used for the initial handshake/negotiation (usually RSA) and symmetric is for the channel traffic encryption (usually 3DES). You can also use TLS for authentication purpose with client side certificates. Talking of X509, the Sun JVM comes with an handy (albeit private) package to generate your own self-signed certificates: check sun.security.x509. Here is a pretty much self-contained usage example: http://cvs.sourceforge.net/viewcvs.py/zoe/ZOE/Applications/ZOE/ KeyManager.java?view=markup Which is used by this application: http://zoe.nu/ Cheers, -- PA http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Authentication - Best practice
On Jan 12, 2005, at 12:03, VAN DER MARLIERE FREDERIC wrote: My question is: are there best pratice on how to use realm? RFC 2617 - HTTP Authentication: Basic and Digest Access Authentication http://www.faqs.org/rfcs/rfc2617.html In a nutshell, neither Basic nor Digest offers much in terms of "security". That said, Basic is usually "good enough" for casual access control. An easy way to enhance the security level is to run the above over TLS. Perhaps even leveraging client side certificates if necessary. In any case, the main question is: WYTM? http://iang.org/ssl/wytm.html Cheers, -- PA http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]