Webcam Chat QuickBooks Advice international calling cards international phone cards
JavaBeat Java Books Certifications Certifications Kits Articles Tutorials Tips QNA Book Store Interview Questions SCJP 1.5 SCJP 1.6 SCWCD 5.0 SCBCD 5.0 SCEA SCJA Feeds
Submit Links | Latest Links | Login (want to submit links for DLinks? send a mail to krishnas@javabeat.net)

What is the better approach to implement Singleton pattern?

java Comments
  • 0 votes
Singleton is one of the frequently used and easily understandable design pattern. Most of the tutorials and books give example of making the constructor as private and exposing a static method which will provide single instance. The common example they use is Runtime class of JRE.... more »

JBoss Seam 2E Examples for Preview Chapters

seam Comments
  • 1 votes
The preview chapters will soon be released but you can get a sneak peak by accessing the code examples here. Feel free to download the examples and try them out! Each example project included in the source bundle is a variant of the Seam Hotel Booking example. The booking project demonstrates the use of natural conversations and navigation-based conversation management while the nestedbooking project demonstrates the use of nested conversations.... more »

How does Seam hookup with JSF at server startup?

seam jsf Comments
  • 1 votes
JBoss 4.2.1.GA comes with JSF 1.2 RI (Reference Implementation) and by default registers JBossJSFConfigureListener class as a context listener for any web app you deploy. To see how this is done, look at the web.xml file under \ server\ default\ deploy\ jboss-web.deployer\ conf\ directory. The above web.xml is common to all web applications you deploy which means that JBossJSFConfigureListener gets a chance to participate in your web application lifecycle events, such as when the context is initialized and when the context is destroyed.... more »

Announcing JBoss Seam Second Edition

seam Comments
  • 1 votes
The much anticipated Second Edition of JBoss(R) Seam: Simplicity and Power Beyond Java(TM) EE (Prentice Hall JBoss) is coming soon. Michael Yuan and myself have teamed up to develop the content for the upcoming Second Edition which will cover the ins and outs of Seam 2, and I don’t just mean bijection... more »

How to make JBoss Seam work with Eclipse (for Windows)

seam eclipse Comments
  • 0 votes
This is a step-by-step tutorial. I made this Tutorial, because I was not happy with the four project folders generated by JBoss Tools 2.0.0 when I select a new Seam EAR project. The work is a bit confusing. If I create a new Seam WAR project I only get two projects (one of them is a test project). I had a lot of trouble with the WAR project. I was not able to not get the EJB3 examples work with it. Never the less the folder structure is different from the Seam-gen generated projects. This tutorial works completely without JBoss Tool. You can use JBoss Tools anyway, it has nice functions do build a RichFaces JSF page, but keep in mind that new generated projects are difficult to handle, since you have to keep an overview of all four projects and the changes you made in each of them.... more »

Building Seam with Maven 2

seam Comments
  • 0 votes
JBoss Seam gives you a great build support if you want to go with Ant. But what about Maven 2? There doesn’t seem to be a lot of documentation about it. Here’s how I got it running. First of all you need to create a multi-module project. Maven 2 requires to have a POM for every artifact you want to build. What you need to set up is one project (through a directory) per artifact. The book “Better Builds with Maven” describes this procedure very well. After setting it up you should have something similar to this:... more »

Integrating Guice and JSF

jsf google-guice Comments
  • 0 votes
Special thanks to my teammate Çağatay Çivici for inspiring me on this one. I will never be able to pronounce his name correctly, but that certainly doesn't stop me from taking one of his good ideas and running with it. ... more »

Hibernate with Guice - Part I

hibernate google-guice Comments
  • 0 votes
In this Blog you will see how to add Google-Guice functionality to a Hibernate-Application. In Part I i will introduce a simple Hibernate-Application. In Part II you can see how this Application will be transformed for using Guice.... more »

Howto generate Hibernate POJO and mapping files using ant from a db schema

hibernate java java5 Comments
  • 0 votes
This is the ant task I’m using to generate POJO and mapping files from a DB Schema (mysql).... more »

How to Create Jar Files from Ant

java Comments
  • 0 votes
Lets take this time in consideration a real life project. Most of the time Ant is used to compile and build java projects. This means generating, compiling and building jar files. For this we are going to define severals tasks. Lets consider the we create a buid.xml file in the directory where sources are located. The sources are put in the subdirectory called src. We also need to include a jar in the classpath while compiling. We are going to create a separate property file to define the location of this file:... more »
 

JavaBeat Website (2004-2011), India
javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2011), JavaBeat


Technology Blogs
Technology blogs Technology Blogs
blog log