Tuesday, March 28, 2006

Dependency Injection

THE paper about dependency injection.

http://www.martinfowler.com/articles/injection.html

Gigaspaces

Next month, Gigaspaces will be speaking at JUG.
http://www.gigaspaces.com/

I checked out their website, the SBA actually sounds very interesting, thus I am making a link to it for future readings.

March JUG

The first talk was by Michael Cote about JAAS, and here is a link to his free book on JAAS

http://www.jaasbook.com,

the presentation slides can be found at http://www.jaasbook.com/presentation/

Second talk is from ebay austin center, they made a presentation about migrating carad in ColdFusion to J2EE (tapestry, spring, hibernate etc.)

The high level structure looks like

Tapestry (Engine, Pages, Web Components) SOAP Interfaces
------------------
Services Layer
Domain Model
DAO Layer
Hibernate Mappings
Spring ORM
------------------
Hibernate
------------------
DB

The new technologies and terms I learned are, tapestry, and hivemind.

Thursday, March 23, 2006

PPPoE

Even though I haven't figured out whether it is really of any use to start tackling the ABCs of the telecom market, it is kind of fun to understand things. I remember when I first trying to climb through that telecom industry book, it was a hell. And i wasn't very successful on finishing even 5% of it. I think things are getting a little bit better now.

Read up a little stuff on PPPoE, and here are some links for future references.
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/

The pics here are helpful
http://www.vicomsoft.com/knowledge/reference/pppoe.html

Engaging a different way to tackle new technologies

I was trying to get started on JBoss and was reading JBoss's getting started section.
http://docs.jboss.org/jbossas/getting_started/v4/html/

Unfortunately, when I reached chapter 3, it made a reference to J2EE tutorial, http://java.sun.com/j2ee/1.4/docs/tutorial/doc/, in order to gain the backgroud, I start to read this other tutorial, and just like that, I got lost and discouraged in this not very effective learning process. After a bit thinking, I decide to go back the original tutorial, and will continue on it only trying to divert when it is absolutely necessory. I write this to remind myself, even when I am doing something not under a deadline and totally for my own interests, I have to learn to ignore the depth initially and try to get my hand on only small managible sizes. Reduce the size and my own expectation on area that requires attentions.

Thursday, March 16, 2006

Why EJB?

I have been working in the J2EE environment my company selected. And we use EJB etc. for quite a while. Today, I got into this discussion with my friend, and she is suggesting EJB isn't a must in J2EE applications, and in fact, for those application logics, it is just fine implementing them in Servlets/Web Apps rather than in EJBs. EJB has all the overhands that servlets can avoid. I am confused. Thus started my quest for the purpose of EJBs.

Here are several links that I found relavent:

http://www.javaworld.com/javaworld/jw-12-2001/jw-1207-yesnoejb.html
http://www.jguru.com/faq/view.jsp?EID=126400
http://www.javaworld.com/javaworld/jw-11-2004/jw-1115-ejbtest.html
http://wiki.cs.uiuc.edu/cs427/Spring+Framework+Introduction
http://www.theserverside.com/articles/article.tss?l=SpringFramework

And obviously, someone wrote a book about it
Expert One-on-One J2EE Development Without EJB, Rod Johnson, Juergen Hoeller (Wrox, June 2004; ISBN: 0764558315)

Seems like I need to understand the Transaction and Security Supports for the EJB, and familiar myself with the clustered deployment scenario.

Tuesday, March 14, 2006

Lucene

I ran into a Lucene book last night at the bookstore, and I thought I'd bookmark it for future references.

http://lucene.apache.org/java/docs/gettingstarted.html

With all kinds of open sources projects available, integration can be fun.

Tuesday, March 07, 2006

Eclipse Tricks

Ran into this article from JavaPro, some practical tricks for eclipse users.
http://www.ftponline.com/javapro/2005_03/magazine/columns/pluggedin/default.aspx