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

The Applet Class in Java

Each applet is an augmentation of the java.applet.applet class. The base Applet class gives techniques that a determined Applet class may call to get data and administrations from the program connection. These incorporate techniques that do the accompanying: Get parameters of the applet Get the system area of the HTML record that contains the applet … Read more

Life Cycle of an Applet IN JAVA

The creation of any applet requires the implementation of four methods of the Applet class. These methods have been discussed in the below. init: This method is planned for whatever introduction is required for your applet. It is called after the param labels inside the applet tag have been transformed. start: This method is naturally … Read more

Java Applets

In order to run an applet, you must have a web browser. An applet can be a completely utilitarian Java application on the grounds that it has the whole Java API’s available to it. There are some essential contrasts between an applet and a standalone Java application, including the accompanying: A main() function is not … Read more

Packages in Java

Packages are utilized as a part of Java so as to avert naming clashes, to control access, to make seeking/placing and utilization of classes, interfaces, identifications and annotations less demanding, in addition to several others. A Package can be described as a collection of related types (classes, interfaces, counts and annotations) giving access security and … Read more

Declaring Interfaces in Java

In order to declare an interface, you must use the interface keyword. Here is a straightforward illustration that can be used for declaring an interface. The standard structure and order of statements that can be used for this purpose are as follows: import java.lang.*; public interface Interfacename { //Statements} Interfaces have the accompanying properties: An … Read more

Interfaces and Packages in Java

Abstract methods when brought together form a package. A class actualizes an interface, consequently inheriting the interface’s abstract methods. An interface is not a class. Composing an interface is like composing a class. However, they are two separate ideas. A class portrays the properties and behaviours of an object. On the other hand, An interface … Read more

Common Exceptions in Java

In Java, it is conceivable to characterize two categories of Exceptions and Errors. Programmatic exceptions: – These special cases are tossed unequivocally by the application or the API software engineers Examples: Illegalargumentexception, IllegalStateException. JVM Exceptions: – These are exemptions/mistakes that are solely or consistently thrown by the JVM. Some exceptions of this class are ArrayIndexOutOfBoundsException, … Read more