[26 Dec 2011 | No Comment | 4,645 views]

An EJB application development involves three major stages,

  1. Development
  2. Deployment
  3. Administration.

Depending on the size and scale of the application, the responsibilities related to each of these stages can range from simple to complex. In a large organization, for each Read more…

[26 Dec 2011 | No Comment | 3,986 views]

EJB is a Component Based Model

  • With EJB, you can develop “Reusable Chunks” – EJB Components; that developers from unrelated company can assemble it to construct their own application.
  • All application methods are placed into separate components so that all

Read more…

[26 Dec 2011 | No Comment | 8,540 views]

Introduction

Enterprise JavaBeans (EJB) is server-side component model of the Java platform for developing distributed enterprise applications.

It enables enterprises develop “secure, scalable, multi-platform, business-critical applications as server-side components”

The EJB specification is part of Java EE specification Read more…

[20 Dec 2011 | One Comment | 13,303 views]

This tutorial provides a step-by-step installation guide for MySQL 5.5 on Windows.

Download MySQL

Depending on your operating system download the proper version of MySQL from the following link.

http://www.mysql.com/downloads/mysql/

MSI Installer is recommended for beginners. Choose either 32-bit or Read more…

[13 Dec 2011 | 15 Comments | 52,968 views]

By default JBoss AS 5 is the most recent, supported version in Eclipse IDE. You need an Eclipse server adapter for JBoss AS 6 or later and that’s what JBoss Tools provides.

Environment Used

  • Java SE 6
  • Eclipse Indigo (3.7.1)

Read more…

[13 Dec 2011 | 6 Comments | 18,118 views]

Environment Used:

  • Eclipse Indigo (3.7.1) IDE.
  • Java SE (JDK/JRE) 6.

Installing Java JDK/JRE

You will need Java SE Runtime Environment (JRE) to use Eclipse. You can read this page to install JDK/JRE and then return here to continue the Eclipse Read more…

[12 Dec 2011 | 3 Comments | 20,647 views]

Environment Used

  • Java SE 6 Update 29
  • Windows (XP/Vista/7) OS

Downloading Java Development Kit (JDK):

You can download latest version of JDK from this location

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Click on the download link to go to the download page.

Download the JDK Read more…

[11 Dec 2011 | One Comment | 1,470 views]

Whenever a user enters a date information, we get that as String type. There is a need to convert this String to java.util.Date Object.

Here is where, Java provides a class called SimpleDateFormat available in java.text package which allows for Read more…

[10 Dec 2011 | 2 Comments | 13,700 views]

MySQL’s default DATE field format is

YYYY-MM-DD

and DATETIME type is a date and time combination which stores data in

YYYY-MM-DD HH:MM:SS

format.

Whereas in Java, the Date class’ (available in java.util package) default format is,

dow mon dd hh:mm:ss

Read more…