Latest article tagged on "J2EE"

Introduction to Reflection API in Java

Java Reflection facilitate us to inspect classes, interfaces, fields and methods at runtime, without knowing the name of the classes, methods etc. at compile time. It is also possible to instantiate new objects, invoke methods and get-set field value

By Mayank Tripathi posted   one year ago

Interface in Java

The interface is a mechanism to achieve fully abstraction. There can be only abstract methods in interface, not method body. An Interface is also used to achieve multiple inheritance in Java.

 Java Java  J2EE 
By Anupam Mishra posted   one year ago

Abstract Class in Java

If you are declared with abstract keyword of a class is called abstract class. It can have abstract and non-abstract method (method with body).

 Java Java  J2EE 
By Anupam Mishra posted   one year ago

Java Inner Class

In java Inner class or nested class is declared inside the class or interface. We use inner class because it increases more readable & maintainable of code.

 Java Java  J2EE  Class 
By Anupam Mishra posted   one year ago

Java Conversion

If you want to convert string to float,double,int,date and vice- versa then this article are very useful for that

 Java Java  J2EE 
By Anupam Mishra posted   one year ago

Reentrant Monitor in Java

If you are using more than one synchronized method in the program and want to access both synchronized method in a program on single thread. But problem is that lock is acquire only one synchronized method at a time on single thread. So, you use this

By Anupam Mishra posted   one year ago

Shutdown Hook in Java

Before JVM shuts down if you want to execute some code, use shutdown hook.

By Anupam Mishra posted   one year ago

Daemon Thread in Java

In java, Damon thread is a low priority thread .It is used for providing background support to any user thread to same process as the daemon thread.

By Anupam Mishra posted   one year ago

FileWriter & FileReader Class in Java

if you have to read and write the textual information Then Java has suggested not to use the FileInputStream and FileOutputStream classes . So, it's widely used for that

 Java Java  J2EE 
By Anupam Mishra posted   one year ago

SequenceInputStream Class in Java

If we want to read data from multiple stream in java input/output operation then SequenceInputStream class is very useful for that.

 Java Java  File  J2EE 
By Anupam Mishra posted   one year ago

Variable Arguments(Varargs ) in Java

If we don’t know how many arguments we will have to pass in the method .Varargs is the better approach.

 Java Java  J2EE 
By Anupam Mishra posted   one year ago

How Many Ways To Reading Data From Keyboard in Java

In Java, Their are several ways to taken an input from the keyboard.such like InputStreamReader Class,Scanner class,Console class etc.

 Java Java  J2EE 
By Anupam Mishra posted   one year ago

Serialization in Java

Serialization is a process of converting an object into a stream.

 Java Java  JMS  J2EE  EJB  Hibernate 
By Anupam Mishra posted   one year ago

Java Console Class

The Java Console class is often using to get input from console. It provides methods to read text and password.

 Java Java  J2EE 
By Anupam Mishra posted   one year ago

StreamTokenizer in Java

The StreamTokenizer class allows you to break an input stream into tokens such as words.

 Java Java  J2EE 
By Anupam Mishra posted   one year ago

Java Regex or Regular Expression in java

Regular Expression used to define constraint on strings such as password and email validation.

 Java Java  J2EE  Regex 
By Anupam Mishra posted   one year ago

Object Class in Java

By Default, the Object class is the parent class of all the classes in java or we say, it is the topmost class of java.

 Java Java  J2EE 
By Anupam Mishra posted   one year ago

Working With BLOB(Binary Large Objects)

A BLOB is a build-in data type supported by the database implementing SQL 99 alias SQL3 Standards. A BLOB is used to store large binary data ,such as bit images,audios,and multimedia clips as the column value in a database table.

By Anupam Mishra posted   one year ago

Using Cursor in CallableStatement

A cursor defines the runtime execution environment for query when the result of the query execution can be captured.

By Anupam Mishra posted   one year ago

Callable Statement in Java

In Java, CallableStatement is used to call the stored procedures and functions by using an object of the CallableStatement Interface.

By Anupam Mishra posted   one year ago

Synchronization in Java

Synchronization is required when more than one thread sharing the same resources .

 Java Java  J2EE 
By Anupam Mishra posted   one year ago

Why String is Final in Java

As I said, there could be many possible answer of this question, and only designer of String class can answer it with confidence

 Java Java  J2EE 
By Anupam Mishra posted   one year ago

Don't want to miss updates? Please click the below button!

Follow MindStick