TechnoBuzz

A Techno Blog, mainly about Java

Hibernate 3

This entry will mark my start at looking at hibernate 3. It appears the transition path is from using the xdoclet to using annotations in documenting the mappings.

It appears there is a toolset within hibernate 3 worth trying out : "We have made significant improvements to the Hibernate toolset for Hibernate3. This is however work in progress and we’ll continue to implement new ideas and features as the third generation of the Hibernate3 object persistence stack evolves. " Others

Q&A with Gavin

Tips

Raible Designs talks about Pagination with Hibernate: "Hibernate 3 has added the ability of adding projections like count(*) w/ aliases to the Query"

Pagination

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

reader and web tools

I am trying out this free newsreader that does feeds.

Eclipse Web Tools 1.0 is out.

December 29, 2005 Posted by | SW Tools | Leave a comment

extremecomponents

extremecomponents sf page  forum

The eXtremeComponents are a series of open source jsp custom tags that render advanced displays, such as tables and trees. The primary tag is called the eXtremeTable and is used to display data in a table format.
The eXtremeComponents uses the  Apache License Version 2.0 open source license.

The version I am using is extremecomponents-1.0.1-M3. That jar along with prequsite jars , plus the tld (which goes in WEB-INF), should get you running. There is a test.jsp which requires you copying the includes images to the images/test folder.

<%@ taglib uri="/WEB-INF/extremecomponents.tld" prefix="ec" %>

I am getting this error  with eclipse in jstl code: ‘The method getContextPath() is undefined for the type ServletRequest

taglibs

Entry about refactoring in the pagination/limit corner ( here).

http://jroller.com/page/geyerba?entry=the_jsp_table_conundrum_paging

http://www.43things.com/tag/jsp

category: j2ee pagination.

December 27, 2005 Posted by | J2EE | Leave a comment

logging

I have used log4j beginning in 2003. Back then I was told, dont use println, use log4j

The version i am working with is 1.2.13 and can be found here.

For recent issues, I guess check mailing list.

Some reasons to like log4j which incluedes mention of an eclipse plugin.

Examples [1] [2] [3]

December 26, 2005 Posted by | J2EE | Leave a comment

apache derby

Derby Web Site : I downloaded this version.

Extract it and go into the \demo\simple\ directory, find example.html

Download the db2jcc driver for derby from ibm

Add to classpath:

%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbynet.jar;%DERBY_INSTALL%\lib\derbyclient.jar;%DERBY_INSTALL%\lib\db2jcc.jar;%DERBY_INSTALL%\lib\db2jcc_license_c.jar;;%DERBY_INSTALL%\lib\derbytools.jar

run sample in the embedded envir: java org.apache.derby.tools.sysinfo -cp embedded SimpleApp.class

start server in server envir: java org.apache.derby.drda.NetworkServerControl start

run sample in server envir: java SimpleApp jccjdbcclient

Derby manual  page, on left hand side click your version (i.e. 10.1) .

Tutorial paper

DeveloperWorks Derby page, IBM infocenter

There are two separate Eclipse plugins for Derby: derby_core_plugin , derby_ui_plugin
After extracting the plugins to the eclipse plugins folder:
– From the main Eclipse menu at the top select Help >> Help Contents >> Derby Plug-ins User Guide
– you add a derby nature to your project, and following the getting started with the plugin   

Derby with Tomcat article, with J2EE, DeveloperWorks Derby Tutorial

C:\derby\frameworks\NetworkServer\bin

run sysinfo.bat

ij:

ij> connect ‘jdbc:derby:derbyDB’ user ‘user1’ password ‘user1’;

ij> show connections;

ij> select * from sys.systables;

Derby future possibilities

December 23, 2005 Posted by | Open Source | Leave a comment

Best Practices for Software Development

Link: Best Practices for Software Development.

December 23, 2005 Posted by | J2EE | Leave a comment

spring & hibernate

spring 2.x: Alex – Main – discussing with Rod and Rob

Tutorial with Hibernate: Hibernate

Hibernate + Spring : this looked like a decent example,  follow on as I do not know German and translated to English below.

Continue reading

December 23, 2005 Posted by | IoC | Leave a comment

Browser and Reader

December 22, 2005 Posted by | Blogging | Leave a comment

SSE

Link: � SSE, RSS, and Web data | Between the Lines | ZDNet.com.

RSS syndicates information in a simple and straightforward way, but it’s not bi-directional. Ozzie’s team created SSE to enable loosely-coupled applications to use RSS and OPML in a way that has bi-directional, asynchronous replication of new and changed items of two or more cross-subscribed feeds and outlines.

December 19, 2005 Posted by | Blogging | Leave a comment

Bonnie Beagle

Prior to 1997, I never had the good fortune of experiencing the bond
between a man and his dog. In this case the dog was a beagle named
Bonnie. 

She was timid, but she would touch our life with her sweet nature,
and her everlasting devotion. When she got past the shyness, she
followed the Beagle code whereby like my vet used to say, "I never saw
a beagle who would not eat anything put down in front of him/her".

You could tell she had a tough life before entering ours, she had a
good ticker (heart), and rarely ever barked. When we had another dog we
brought into the house as a puppy, she took him under her wings and
showed him the ropes. It was almost as if she thought it was her puppy.
The unique thing she would do is when we poured her a bowl of food, she
would eat only half the food in the bowl. It was as if the younger dog
would be waiting on the on deck circle, and as soon as she finished her
portion, she let the other dog eat the rest.

The dog fought a cancer battle several years ago that was defeated
thanks to one Dr Jeff Todd, but after being with us for eight solid
years, this was just her time to go. She left us gracefully last night
after starting the morning doing her favorite thing that is taking a
walk on Litchford Road. In the time we knew here, you just brought up
the word walk and her ears would rise up and a tail wagging. Thus, it
was appropriate she got to walk and sniff on her last day here with us.

I will leave you now with this excerpt from A Dog’s Prayer by Beth Harris:
"Speak
to me often, for your voice is the world’s sweetest music, as you must
know by fierce wagging of my tail when your footseps falls upon my
waiting ear…and I will leave you knowing with the last breath I drew,
my fate was ever safest in your hands"

Bonn006

 

Bonnie_beaglizer

Bonnie_books

Bonnie_sniffer

Bonnie

Bonnie_moneythumb

Bonnie_earthumb2_1

Hot_dogthumb2

Leon_bonnthumb

December 18, 2005 Posted by | Uncategorized | 1 Comment

Microsoft Adopts Mozilla’s RSS Icon

Link: Microsoft Adopts Mozilla’s RSS Icon.

"I’m excited to announce that we’re adopting the icon used in Firefox. [They] were very enthusiastic about allowing us [and anyone in the community] to use their icon," wrote a member of Microsoft’s RSS Team.

Early responses to Microsoft’s decision, posted on the Team RSS were overwhelmingly positive, describing the shared Microsoft-Mozilla icon as "well done!" and "and a welcome change of pace from the browser wars."

December 15, 2005 Posted by | Uncategorized | Leave a comment

Firefox extension

New Firefox extension:blogger tool.

“this Firefox extension shows you what bloggers around the world are saying about the websites you are viewing”

December 15, 2005 Posted by | Blogging | Leave a comment

Flickr n Stuff

Links:
How to: Flickr Intro at BenBishop.me.uk.

Ebay RSS
ZDNet podcasts

December 14, 2005 Posted by | Blogging | Leave a comment

Blog Awards, google api

Link: Red Reporter :: 2005 Sports Blog Awards.

Gator fans like this news.

I am a I google user. Just saw this API  &samples

podcastcon

December 14, 2005 Posted by | Uncategorized | Leave a comment

Del.icio.us Tools, AJAX

Link: Comprehensive Listing of Del.icio.us Tools, Plugins and Add-ons for Social Bookmarking � ‘Change, Culture, Creativity, Communication’.

AJAX : "How do you use it with Java and J2EE? developerWorks has an introduction, and there’s a lot more going on"

December 13, 2005 Posted by | Blogging | Leave a comment

JNDI conflicts

Link: Naresh Jain’s Weblog : Weblog:”If you are using Websphere, this might help”.

December 12, 2005 Posted by | SW Tools | Leave a comment

Google Maps Creation Tools/Tutorials

Link: Google Maps Mania: Google Maps Creation Tools/Tutorials.

December 11, 2005 Posted by | Web Design | Leave a comment

AutoSave?

Link: I’m Tired Of Saving!:”I guess there are a couple of reasons why manual save has persisted. One reason is because having a sandbox gives us a feeling of security.”.

December 10, 2005 Posted by | SW Tools | Leave a comment

Google Maps

This page was in French.
Translate it to english here .
Get Geo here
Hello World
Google Maps

Continue reading

December 10, 2005 Posted by | Web Design | Leave a comment

37signals: An Introduction to Using Patterns in Web Design

Link: 37signals: An Introduction to Using Patterns in Web Design.

December 6, 2005 Posted by | Uncategorized | Leave a comment

Web 2.0

The concept of "Web 2.0" began with a conference
brainstorming session between O’Reilly and MediaLive International.
Dale Dougherty, web pioneer and O’Reilly VP, noted that far from having
"crashed", the web was more important than ever, with exciting new
applications and sites popping up with surprising regularity.
Could it be that the dot-com collapse marked some
kind of turning point for the web, such that a call to action such as
"Web 2.0" might make sense? We agreed that it did, and so the Web 2.0 Conference was born.

What Web 2.0 means – “an emerging network-centric platform to support distributed, collaborative and cumulative creation by its users.”      Web 1.0 – “largely consisted of stand-alone web sites for specialized publishers
and vendors seeking to more effectively reach audiences and consumers.
It was a broadcast and distribution medium, rather than a creation
medium.”

We are the Web – “At its heart was a new kind of participation that has since developed
into an emerging culture based on sharing. And the ways of
participating unleashed by hyperlinks are creating a new type of
thinking – part human and part machine – found nowhere else on the
planet or in history..”

Foundation attributes vs Experience Attributes – “When Experience Attributes are combined with Foundation Attributes for
a Web 2.0 offering, the result can be a valuable new service with a
fast-growth business model.”

Web 0.x to Web 2.0 Simplified – This new excitement is probably generated by the presumption of
achieving the ultimate Internet goal of enabling true "Everybody to
Everybody" participation. However, while this "new wave" brings  tremendous user and social values, it still does not seem to address  some of the critical Internet  roadblocks to pervasive Internet collaboration.
 
Web 2.0 plateau – The Web is the platform and the great virtual land grab is in
full flower. AJAX pixie dust, XML stores, mash-ups, on demand
infrastructure, Web replacements for traditional client/server
applications, PHP, open source, tags, RSS, deeper user interaction and
so-called disruptive startups are creating new kinds of applications.

Web 2.0 Business model-Mashups is a current hot topic and many people are getting excited
about the possibility of earning money by mashing up several services
into one. I recently did a review of the top mashups on the Web today and was impressed by the quality and number of mashups and API services, from Virtual Places to mashingtonpost.com.

When 2.0 Conference speakers

December 3, 2005 Posted by | Web/Tech | Leave a comment

tips

link

http://ajaxian.com/archives/2005/12/jon_aquino_has.html

when to use it

http://ajaxian.com/archives/2005/12/6_places_you_mu.html

http://ajaxian.com/archives/2005/12/taking_firefox.html

I recently signed up for wiki account at BeJUG. They had what looks like a nice talk/demo on openLaszlo that I should check out some time

December 2, 2005 Posted by | Uncategorized | Leave a comment

UNC

Just noticed this weblog yesterday on the TarHeels .  They are calling themseleves THT, but I tend to prefer this THT – The Hardball Times

article on Spring with Struts

December 1, 2005 Posted by | Sports, Spring, Struts | Leave a comment