System.out.println(“………..”)

The main method has one line of code in it: public class name { public static void main(String[] args) System.out.println(“linux”);} } This is the actual line of code that does all the work. In this case, we are using some of the code that the programmers at sun have already created to display the text … Read more

public static void main(String[] args)

Here`s the next line of code. public class abc { public static void main(String[] args) {……}} Whats happening here is that we are creating a method in the app class. A method in Object-Oriented Programming is like a function or subroutine in standard programming- it`s a block of code that you can pass control to … Read more

Writing Java code: Creating an application

public class app { public static void main(String[] args) { System.out.println(“Hello world”); } } If you are new to Java, this might look strange to you. The idea here is that this application will print out the text “Hello world” when you compile and run it. for example, here`s how it looks in a DOS … Read more

What is Struts?

Struts is a framework that provides the use of the Model-View-Controller architecture for designing large-scale applications. it is a project of the Apache software foundation with its official home page is at http://struts.apache.org/. The Struts Framework includes a set of custom tag libraries and their associated java classes, along with various utility classes. The most … Read more

What is J2EE?

J2EE (Java 2 Platform, Enterprise Edition) is a platform-independent, java-centric environment from sun for developing, building and online deployment of web-based enterprise applications. The J2EE platform consists of a set of service- APIs, and protocol- that provide the functionality for developing multi-tiered, web-based applications. J2EE is a java-based, runtime platform created by sun microsystems used … Read more

What is JSP?

JSP Java Server Page (JSP) technology allow web developers and designers to rapidly develop and easily maintain, information-rich, dynamic web pages that leverage existing business system. As part of the java technology family, JSP technology enables rapid development of web-based applications that are platform-independent. JSP technology separates the user interface from content generation, enabling designers … Read more

What is J2ME?

J2ME J2ME (java 2 mobile edition), a java-based runtime platform created by sun microsystems, allows java application to run on embedded device, such as cellular telephones and personal digital assistants (PDAs). J2ME also is a competitor to the microsoft .NET Compact framework. The J2ME provides a robust, flexible environment for applications running on consumer devices, … Read more

What is JSF?

JSF The java Server Faces (JSF) is a new framework for building Web application by using Java. Java Server Faces consist of the following features: Easily configuration page navigation Standard extensible user interfaces widgets (like hyperlinks, buttons) for: User input validation Easy error handling java bean management Event-handling internationaliation support  

what`s new in java SE6 ?

java SE6 The new java SE 6 comes with lots of improvements ti the existing packages with number of new methods and interfaces added to it. The new version of API supports various new features. Enhanced collection framework dynamic compilation Support for Internationalization Database Security web services Desktop Improvement System Tray Splash Screen Swing Updates … Read more