List Info

Thread: OpenSource Review




OpenSource Review
user name
2006-09-19 13:26:37
On 9/19/06, Graham Reeds <ntlworld.com">grahamrntlworld.com> wrote:
Also the software I have found for Java very rarely works as expected.
I expect software when installed to a subfolder to work from that
subfolder.  I installed Blojsom (java) to /blogs so I would get
/blogs/username/ but no it added a /blog/ folder in there.&nbsp; Similar with
JForum. &nbsp;I installed to /forums to give /forums/list.page but that too
installs an additional folder too giving me /forums/forums/list.page.
Also other java web-apps do the same (Pebble).

Most of the time, java webapps will have servlet path name ( i.e. 'blog' in blojsom), and the context path where you deploy the webapp too (ROOT, or the context path name).
In order to hide the servlet path name:
- All webapps uses urlrewrite filter to map the bits after servlet path, e.g. userid/categoryname/etc to blog/userid/categoryname/etc.
Of course, most webapps won't bother doing this.
- Use Apache rewrite to do the mapping for all the webapps that you have installed.

Either way requires additional effort.

Now Wordpress (PHP) worked flawlessly. Had a bit of faff with themes but
apart from that it was painless. Worked straight from the folder I told
it to. Same with phpBB.&nbsp; Now I am a big fan of Java, but these issues
seem to be the main dragging point of java apps

My experience was different.
About 3-4 years ago, I was trying to do some i18n stuff (prolly gettext) with PHP, and I found out that in order to set it up I would do something different on windows, and then on linux - which also requires me to recompile PHP with --gettext.
That's a bummer. I have never had to do such annoyance with Java apps.

Anyway, this is not saying that Java/PHP is good/bad. We all have different experience and different preference.

I do use WordPress and phpBB, I like them, though I'm a bit worried sometimes everytime there's a security flaw found on phpBB.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )