Showing posts with label Java / J2EE. Show all posts
Showing posts with label Java / J2EE. Show all posts

Java Server Faces (Whats that ?)

JavaServer Faces technology simplifies building user interfaces for JavaServer applications. Developers of various skill levels can quickly build web applications by: assembling reusable UI components in a page; connecting these components to an application data source; and wiring client-generated events to server-side event handlers.

Currently, Sun is responsible for the reference implementation, which will work with any standard servlet container. They also support JSF in their recently announced NetBeans-based rapid application development tool, Java Studio Creator. Creator 1.0 was recently released at JavaOne in June of 2004.

Sun isn't the only member of the expert group, though. It includes key IDE and J2EE vendors, including IBM, Borland, BEA, Macromedia, Apache Software Foundation, Oracle, and many others. Oracle has announced support for JSF in an upcoming version of JDeveloper. Borland has also announced support, and IBM has also added full support for JSF 1.0 to WebSphere Studio 5.1.2, which is currently available. Most of the other members have made their intentions of supporting JSF known. To keep up with the latest JSF products, check out the products page or subscribe to the products RSS feed.

EJB Roles

These are some roles in the EJB systems. In reality though, one or more of these roles are perforemed by a single individual. However this need not be the case.

Enterprise Bean Provider

Application Assembler

Deployer

EJB Server Provider:

Orion / BEA etc.

EJB Container Provider
Same as above but the later specs allow loose coupling via XML that is APache we server with BEA Container

System Administrator

J2EE V 5 - new relase by Sun JCP approves

Sun Microsystems, Inc., ... today announced that the Java Platform, Enterprise Edition (Java EE) 5 specification has been approved by the Java Community Process (JCP) Java EE/SE Executive Committee in a unanimous vote

Read This
Time to renew your certification

Java Vs PHP

Hi ,
Agreed Both are great technologies ! Just wanted to ask which is better and why ?

Remeber the Precomplied C code is available (as library - Should it not be way faster than Java) . PHP compiles (Encodes) and runs even on IBM servers and Yahoo chose php ! I love my java anyway. Please do let me know what you think.

-Cheers

Java Generics

Generics: is a Mechanism in Java 1.5 (aka JDK 5) that allows us to template paramters while using Java Objects. What this does is tremendously reduce code to typed in.

import java.util.*;
public class Test { public Test() { }

public static void main(String[] args) {

List words = new ArrayList();

words.add("at");
words.add("bat");
words.add("cat");
words.add("dat");

for (Iterator i = words.iterator(); i.hasNext(); ) {
String s = i.next(); // Look MOM not CASTING !!!
System.out.println(s);
}

String s1="";

// new Kind of Looping with Generics

for(String x : words) // read as: For each x in Words
{ s1+=x;
System.out.println("s1 is " + s1);
}

System.out.println(s1); }
}
}


AutoBoxing : Tiger [a.k.a Java 1.5]

AutoBoxing :
Formerly we could not do stuff Like

Integer a = 6;

instead we did a :

Interger a =new Interger (6);

This is now automatic.

We can also do
Integer b = a *5 +1; // compiler unboxes for reference

Neat dont you think .

If you use JDK 1.5 specific features ,needles to say, you will need the same or better runtime engine.

Warning : This Messes up you Interview / SCJP preperation study !!!

On the other side it save you a lot of text while coding . A small price to pay.

Java: Not Just a Technology

Java And Xtreme Programming are a Two to Tango :

Xtreme Programming: is the result of certain Amount of settling down that takes palce in the SDLC models. It can be skinny or Massive . The Process is after all defiend by you

Java: has been around for a while and most of us know it as a programming language alone. The Programmer will be quick to tell you that it is a Language. That is true ! But that is not all.

Java is :
IT is a Programming Language
An Embed Systems
and Virtual Machine

and for many of us a Entire new way of Thinking.

Most of the people would tell you 'I Love it ', and I'm no Exception :) .

The Most Happening thing these days (Mar 2005) is J2SE 1.5 (a.k.a )

Tiger (Lots of new Trick with this cat.)

POJO and POJI


and a Interoperablity between Java and .NET

J2EE on the other hand is a Java Standardization method for Enterprise Apps

I will soon Be soon adding some Info on my site / this blog . Keep reading

www.i-unknown.net/