Wednesday, February 07, 2007

I was trying to ue Google's Advanced Search to polugh through Oracle AS OC4J Documentation - to my dismay, I noticed that Google is explicity disallowed from Indexing Oracle's Documentation. I checked the infamous "robots.txt" & noticed the same :-

http://download-uk.oracle.com/robots.txt

Well, I am now confined to the Oracle Search provided on the same page.

Tuesday, February 06, 2007

Brian Goetz articles are at this link :-

http://www.briangoetz.com/pubs.html
I found a very good article on practical uses of Garbage Collection Optimization in J2EE Fine Tuning :-

How We Solved our Garbage Collection Pausing Problem:-

http://gregluck.com/blog/archives/2006/07/how_we_solved_o.html


A detailed explanation about the Garbage Collection can be found at this link :-

http://www-128.ibm.com/developerworks/java/library/j-jtp11253/
Well, you can expect to see problems when you move your code deployed in an Application Server on Windows vs. Application Server on Linux. I was thinking about documenting the experiences I recentlyhad, until I noticed that Owen had beautifully documented it here :-

http://forum.java.sun.com/thread.jspa?threadID=5131195

The moral of the story & the meat of the problem is :-


a) Unix file permissions eg. unable to read/write/create directories,
porting batch files to shell scripts, execute permission on scripts

b) Case sensitivities of files, directories, resources, property files

c) Any hard coded paths would need to be changed to use File.separator, for
their platform dependant equivalent

d) Potential file encoding problems on text files and property files, also
in carriage return & linefeeds

e) Potentially "headless" environments in Unix. Where they don't have an X-Server running, so most, if not all, your Awt & Swing calls would fail.

f) Any calls to native libraries would need to Unix system objects instead of the Windows DLL's. ( *.so )

Thanks Owen !
You can quickly test independent JSPs in OC4J using the application "default". You can just drop your JSP in the default-web-app folder of your OC4J ( $ORACLE_HOME/j2ee/home/default-web-app ) and access the JSPs using the URL :-

http://< host >:< port >/j2ee/< your_JSP >.jsp