You are currently browsing the monthly archive for January 2010.
I like web front-end using Java script, AJAX more than Flash/Flex. Although RIA technology is improved , I still love to direct code in HTML, CSS, and Java script. They allow me control the basic foundation stuff, so I can avoid lock-in framework.
I start to use GWT (Google Web Toolkit) from 1.5 and it helps me quick demo UI layout and idea. I like to write a road map to explain how I learn.
Book:
Manning- GWT in action
Prentice Hall- Google Web Toolkit application
Apress- Accelerated GWT, Building Enterprise Google Web Toolkit Applications
Useful link:
RESTFul and GWT
2. RESTful Client-Side tools for GWT
3. Build a dynamic organization tree using GWT and RESTful Web services
To start up customer java class or jar file when Java EE server starts. The solution usually is
1. Via WAR, servlet ; set the = 1 tag for servlet to provide intial invocation while the WAR is deployed.
Like this J2ee Start a class when application server starts
2. Depends on Java EE server setup.
For example, using weblogic startup and shutdown mechanism for EAR, In the weblogic-application.xml ; placed the following
//config xml
<startup>
<startup-class>MyStartup</startup-class>
<startup-uri>MyArchive.jar</startup-uri>
</startup>
<shutdown>
<shutdown-class>MyShutdown</shutdown-class>
<shutdown-uri>MyArchive.jar</shutdown-uri>
</shutdown>
I used second approach, so everytime I redeployed the EAR application the shutdown class main method was executed and then startup class invoked.
3. Using JBoss MBean service
Most of client server web applications we always have the same issue. How to easily convert client object to server side or reverse?
Here is some posts bring us something.
1. JPA implementation patterns: Service Facades and Data Transfers Objects





