Wednesday, November 29, 2006

Status Report for Nov 16th to Nov 29th

1. Geofest portlet development ( status: working )

The goal is to build a new Geofest portlet for Gridsphere by using MVC model. I will not improve the old Jetspeed stuff.

Step 1. Create view layer

There are some application management stuff in the original GeoFEST portlets source code for Jetspeed. In the new portlet, we should not put any logic code in view layer. We want to get a clear, simple view layer by seperate old jsp source code. Now I am rewriting the jsp pages to JSF pages.

Step 2. Create model layer
I need some time to understand all of the original codes, then I will
accelerate this step work. I will separate all the logic codes from
jsp pages to model bean layer. I will start this step after I finished the first step.

Step 3. Create context manager
The old Geofest portlet using a service called the Contextmanager to preserve the bean information. That way is a little obscure. How can we make a better way?
Maybe we can use database plus hibernate.
db4o: read and write objects to/from a database
http://www.db4o.com/community/
And I have tried the db4o, it is a nice tool.
when I have a clear idea, I will rewrite the context manger.
This step should be the final work.

2. Created a simple map-movie demo (Status: finished)

The Map-move portlet URL is here:
http://gf1.ucs.indiana.edu:13080/gridsphere/gridsphere
USER: testuser
password: testuser
The Map-movie standalone JSF URL:
http://gf1.ucs.indiana.edu:13080/TestMovie-portlet/allstations.jsp

I added the new movie URL and make a portlet war file.
You can download the war file from:
http://gf2.ucs.indiana.edu:23080/sensorgrid_test/TestMovie-portlet.war
* Notes on Google Maps: this portlet does not work with IE but Firefox
is OK. Also, as always, the google map signature on the portlet must
be specific to your host name. you can get the instruction from google map api:
http://www.google.com/apis/maps/documentation/
You just need change the API key in "allstations.jsp" file.

Comments: Post a Comment



<< Home