A Techno Blog, mainly about Java

Some examples

Road to hibernate

lead me to here.

June 30, 2005 Posted by | Hibernate & ORM, IoC | Leave a comment

Java Naming changes

J2SE, J2ME and J2EE Naming conventions have changed

Drop the 2. So, SE, EE and ME

Single digit version: Java SE 6

The new naming conventions only apply to new versions. Existing versions remain.

June 30, 2005 Posted by | J2EE | Leave a comment

Being there without being there (III)

David Geary talk : "wresling match crossover with JSF, Shale, Wicket, Tapestry and WebWork being represented." [more quotes]

More on Web Framework Smackdown face off [java lobby]

Java EE : "J2EE is now Java EE"

MIT course work that was mentioned in the Java talk : "MIT Open CourseWare"

JSF source of Spring Pet Clinic

BeJug Day 3 summary

Wicket from Day 2

Oracle to provide reference implementation of EJB3

Peter Pilgrim

June 29, 2005 Posted by | J2EE | Leave a comment


Web Services with AXIS

June 29, 2005 Posted by | SOA | Leave a comment

Being there without being there (II)

Scott sings: "Kim Polese Q&A "

Tim Bray summary from Sun Planet

ULC: The second day started with a key note by Sun’s CEO Scott McNealy. While he was quite funny, the content of his talk did not reveal where Sun positions Java within its business plan next to the hardware sector and others.

Sun Microsystems is stepping away from an effort to sell the Linux operating system for desktop computers, the server and software company’s top software executive said Tuesday.

Nice blogging here : " Achieving great file I/O performance in Java (BEA Engineer Gregory Brail )…  The Spring Framework: An introduction to lightweight J2EE Architecture (Rod Johnoson, Juergen Heller)… SOA is a journey!” …BEA WebLogic Server 9.0, brought by BEAs Sr. Product Marketing Manager Gary McBride"

Struts to JSF : "I can’t say I agree with this approach, I’m of the school, based on testing this stuff that you either go for complete migration or you leave well alone and leave Struts Apps in Struts."

Amazon JavaOne : " site to learn the APIs … good use of Alexa data… way to tell the amazon value of a book…  Amazon Products Feed. "

Joe on puzzle "Josh Block and Neil Gafter gave what was in my opinion the most interesting talk of JavaOne, day 1 on coding puzzles"

Kasia coverage


June 28, 2005 Posted by | J2EE | Leave a comment

Being there without being there (I)

Java One Online

Feeds on Java One


Blogger guy opening session  notes : "The entire IBM middleware suite will be available for Solaris 10…Sun Java App Server now open source project, known as GlassfishJava Creator 2.0 and a cool new AJAX component they’ve cooked up…"

Vin Man Day 1 : "Next up was Yasushi Nishimura, the director of Panasonic USA and he talked about the Blu-ray disk which is the next big-thing in storage. Blu-ray DVD holds about 50 GB on a single disc with a potential of up to 200 GB. The Blu-ray disc standards bodies will use Java, as the standard for the interactivity menus and so all players will ship with a Java VM built into it. All menus and playback is controlled by Java and additional functions like in-movie menus, extras, etc are also all controlled by Java."

FOSS – free open source software

Sun and IBM extend their longstanding Java licensing agreement for 11 more years, and IBM pledges to offer WebSphere and its entire IBM middleware stack on Solaris.

Java One Ebay : "15 billion web services calls a year…Ebay web services: started XML, SOAP, REST…Resources: Forums: Roadmap: community codebase:"

Sun opening more from the vault : "Java System Application Server Platform Edition 9.0 and the Java System Enterprise Service Bus (ESB) "

CDDL – Common Development and Distribution License

Gupta notes

Experiences with the 1.5 Language Features Category

BEA and Open Source : "We are excited that BEA is embracing the grass-roots innovation that is happening in the Spring community as a response to the pain that developers face today. BEA’s support for Spring is important to our goal of helping developers spend less and less time dealing with the unnecessary complexity that is often associated with J2EE."

JSF interest

Net Beans Day – Sun’s IDE Creator 2

Sun buys

Photos &  People making contact  & Bloggers meet

Good Morning… From Bruce Snyder : "Java Birthday"

Debu Panda scoop

June 28, 2005 Posted by | J2EE | Leave a comment

Cool Websites 2005: Blogs

SBNation makes the list.

Also, I was quoted in a recent article on the Devil Rays:,0,6678139.column?coll=sfla-sports-col
bleeding Rays dry
Dave Joseph
Sports Columnist

June 26,

ST. PETERSBURG · Baseball purgatory has a sale on

Looking for a five-piece bedroom set? How about an ottoman
from the Montego Bay collection? Well, my friend, you’ve come to the right place
— a Devil Rays baseball game.

Welcome to Major League Baseball’s Bizarro
World, where the Devil (Double-A) Rays continue to sink into the abyss, manager
Lou Piniella screams until he gets red in the face and, frankly, no one seems to

How tacky is the world of Devil Rays managing partner Vince Naimoli
when, in the entrance that leads to the clubhouses at Tropicana Field, a local
furniture store has set up a showroom with price tags dangling from the arms of
chairs and dressers.

(By the way, the ottoman is going for $599 and an
area rug for $199).

No wonder why the Devil Rays are professional sport’s
most embarassing franchise, one led by an ownership group that has spent nothing
on trying to bring a respectable team to its fans. Then again, who can pay
attention to baseball when there’s furniture to sell.

The motto for the
Devil Rays: Go to a baseball game and watch a furniture store break out. The
answer to the question "How low can you go" is right here in this domed, bleak
building incarcerating one miserable franchise. Welcome to the end of the world
in baseball.

"I’ve conceded to losing, which is pretty sad when you think
about it," said Devil Rays fan Dustin Staggers of Tampa. "I’ve given up

And who can blame him when you consider the Devil Rays are in the
same division as the free-spending Yankees and Red Sox. Who can blame him when
there’s no hope in sight.

There are only two great moments in the history
of the Devil Rays — the first game played (March 31, 1998) and Wade Boggs
getting his 3,000th hit. That’s it. There are no divisional titles or memorable
games for ESPN Classic. The Rays’ best finish: 21 games under .500. Their goal
this year: Not to break a franchise record of 106 losses.

The Simpsons
and David Letterman have poked fun at them. Fans have stopped coming to the
games and others, like Staggers, have started Web sites asking for Naimoli’s
departure ( Staggers, a local businessman, also tried to stage
a walk-out recently in the middle of a game at Tropicana Field.

wants to keep going to a crappy stadium to see a crappy team," Staggers

It’s hard to believe professional baseball could come to this with
its history in St. Petersburg. The St. Louis Browns came here in 1914 for spring
training, and the city spent $138 million building the Dome in an attempt to
lure a team. They flirted with the White Sox, Giants and Twins before finally
being awarded the Devils Rays in 1995.

"I realized we were going to lose
those first few years," Staggers said.

"You knew there were going
to be growing pains," said Devil Rays fan David Bloom, a Tampa native who keeps
a daily blog from North Carolina.

But no one could foresee
Naimoli bleeding this team dry. Their payroll of $29.8 million is the lowest in
the majors, and only the Pirates ($38.1 million) and Royals ($36.8 million) also
have payrolls under $40 million.

It’s a shame because these fans will
support a team. They proved that while suffering for years with the NFL’s
Buccaneers and NHL’s Lightning. Marlins reliever Jim Mecir played for the Devil
Rays their inaugural season. "It was awesome," he recalled. "There was nothing
but potential, like everytime someone gets a new team."

But Naimoli, who
has one of baseball’s most profitable franchises because he reinvests no money
in the team, has done nothing to move the franchise forward. It’s a shame when
you consider that, when the Devil Rays won 20 games last June, this town was
excited. There was talk of making a run at the wild card and there was even a
pep rally. At the end of the year, the Devil Rays had won 70 games for the first

"It looked like we were headed in the right direction and
maybe they’d make a few trades at the winter meetings," Bloom said.

Instead, the Devil Rays signed Roberto Alomar and Hideo Nomo. "Washed up old
guys," Staggers added.

Before Friday’s game against the Marlins, Devil
Rays fan Robert Bradley, a 42-year resident of St. Petersburg, was the only
person in Section 126 watching batting practice. Bradley says he’s learned
patience watching the Lightning and Buccaneers and still considers the Devil
Rays "a new franchise."

But Staggers and Bloom believe Naimoli
should reinvest in the Devil Rays or get out. "Basically, Naimoli is responsible
for everything going on right now," said Bloom, who thinks the Devil Rays’ only
hope is new general partner Stu Sternberg, who wants to increase the payroll to
$40 or $50 million.

"Listen, I know we’re not going to have the
payroll of the Yankees or the Red Sox," Staggers said. "But look at the Twins
and A’s. They don’t have a huge payroll but they still compete. If the franchise
is trying to win but doesn’t, I can deal with that. I know they’re trying. But
this barrage of losing … it eats away at you."

Bloom, who
attends games played by the Devil Rays’ Triple-A affiliate in Durham, N.C.,
said, "You’ve got to give fans a bright spot. You want them looking forward to
going to the park."

And not for furniture.

Dave Joseph
can be reached at

Copyright © 2005, South
Florida Sun-Sentinel

June 27, 2005 Posted by | Weblogs | Leave a comment

UML book

a coworker mentioned this was a good book for UML

June 24, 2005 Posted by | Patterns & UML | Leave a comment

Portlets with jetspeed 2

Jetspeed 2   : open source project for portlets. IBM Portal supports both the jetspeed and wps

June 24, 2005 Posted by | Portals | Leave a comment


AJAX: It enhances user interaction by targeting updates from the server to specific areas of the web page, known as "In-page replacement" . DWR is easy AJAX for Java

June 23, 2005 Posted by | Uncategorized | Leave a comment

ebay to open code vault

eBay is giving the members of its developer programs access to the source code for various eBay and PayPal tools and sample applications

June 22, 2005 Posted by | Open Source | Leave a comment


DAOs (Data Access Objects) make use of the Template Method whereby there are several steps required, but you are only concern yourself with some of the steps. You encapsulate the individual steps we dont know how to perform as abstract methods, and provide an abstract superclass that invokes them .

I will have a Concrete subclasses of this abstract superclass implement the abstract methods to perform the individual steps.

For example, I have this method FindAllResources which returns a List which does a SQL Select operation.  All I have to be concerned with here is creating the select string and parameters and send it off to the SQL JDBC task.

List filterParms =

String statement ="SELECT …."

return this.findZeroOrMoreRecords(statement, filterParms.toArray());

I also have to copy what comes back from the database into a bean with the method:

Object processResultSetRow(ResultSetRow row)

June 20, 2005 Posted by | IoC | Leave a comment

Ref Doc on Spring

The project I am working on now makes use of an assembler (i.e. autowiring) and gathers the required classes indicated  through an XML files. It works as follows:

In the struts config file, for each action their additional information (properties) that indicates the action helper and the index into the business process  configuration  file. The bp configuration file entry indicates the transaction isolation , the business  process method that gets invoked for this action, the input bean object for the biz process, and the resulting  output bean object that the biz process returns. Thus, for the action you are telling it what the business process is, rather than having it to ask what the business process is. Thus, basically it is performing the role of autowiring the biz objects  or known as Inversion of control.  This architecture was based on Rod Johnson’s interface21 I am told. It was done before there was a thing called Spring.

The Spring documentation  .

The Mailing list  for Spring can be found at   springframework-developer

In this presentation, shows how to use spring:

– go to spring download page
– click on the  Sourceforge link
– get the dependicies zip file ( i.e and unzip it

Spring Hello world

Google  helped me find this nice [presentation] and this [course]

Bean factories: creates, configures and manages Java objects. The configuration details are typically kept in xml or property files .
Application contexts: extends BeanFactor, and therefore provides all the same functionality, but also provides extra enterprise level fxns.

June 19, 2005 Posted by | IoC | Leave a comment


From The Server Side comes a talk / thread by Rod Johnson from the 2005 Java Symposium.

Other Tech Talks by Rod Johnson on
Rod Johnson on J2EE Design, AOP, The Spring Framework
Rod Johnson on The Spring Framework, AOP

Craig R. McClanahan  on
JavaServer Faces: Dead on Arrival or Raging Success?
Craig McClanahan on Java Server Faces
Craig McClanahan on The STRUTS Framework

Cameron Purdy  on
Architecting for Scalable Performances using Clustered Caching
Cameron Purdy on Caching

June 16, 2005 Posted by | IoC | Leave a comment



June 15, 2005 Posted by | Radio | Leave a comment

Business Methods

The web application I am working on has its execute method which go to the back end to perform a business object method if the action determines it is required.

However, prior going to the back end it will translate the form beans to a business bean.

Thus, after this is done, the container will set the applicable business method and begin the process of invoking it. 

Just to be clear, the high level flow starts by invoking the business process method specified by  the process. After it completes, it will check for various errors. If we get an excpetion back saying it failed some business process validation, we find out if we got warnings or errors which are then captured in the request. On a error an excption, we will throw the exception.

It is important to note that we can return without any business validation errors, but we can still get a warning back.

June 15, 2005 Posted by | Struts | Leave a comment

Raleigh-Durham makes list

Best Places For Business And Careers
Where are the best places to jump-start a business or career? Forbes ranked the top areas. [complete list]
1. Boise, ID
2. Raleigh-Durham, NC
3. Austin, TX
4. Washington, DC
5. Albuquerque, NM  6. Huntsville, AL
7. Fayetteville, AR
8. Norfolk, VA
9. Atlanta, GA
10. Madison, WI

June 14, 2005 Posted by | NC | Leave a comment

Spring Book

I read this review on Spring in Action. The book is now purchased and on the way. 

Rod Johnson’s sample code from his J2EE Design and Development book I am told is what evolved into the Spring project.

June 9, 2005 Posted by | IoC | Leave a comment

Database shootout

Part one of the blog entry on the IDUG DB2 vs Oracle

Part Two of DB2 vs Oracle.

June 4, 2005 Posted by | SW Tools | Leave a comment

Singleton Pitfalls

The singleton pattern [uml] [GOF reference]

Simply Singleton: The Singleton pattern is one of the simplest design patterns, but for Java developers, it’s full of pitfalls

The Single Java Object  – A singleton is an class that can be instantiated once, and only once. This is a fairly unique property, but useful in a wide range of object designs.

The double-checked locking idiom – be used with the Singleton creation pattern to limit how much code is synchronized. However, it is not guaranteed to work. Instead of failing consistently, it will fail sporadically.

When to use singletons:

  • Will every application use this class exactly the same way? (exactly is the key word)
  • Will every application ever need only one instance of this class? (ever and one are the key words)
  • Should the clients of this class be unaware of the application they are part of?

Lazy Instantiation

June 2, 2005 Posted by | Patterns & UML | Leave a comment