JAX-WS Web Services in NetBeans 6.1

webservices-thumbnail

Java API for XML Web Services(JAX-WS) is an important part of latest JEE specification (Java EE 5 platform). In this article we will see how to develop JAX-WS based web services using NetBeans 6.1 IDE. This article will not provide any of the theoretical information about JAX-WS. Software used NetBeans 6.1 Java 5.0/6.0 GlassFish V2 […]

Closures in Java 7.0

java-thumbnail

What is a closure? Wikipedia says: A closure is a function that is evaluated in an environment containing one or more bound variables.(Free variables which are to be passed to the function).In some languages closures may occur when a function is defined within another function and the inner function refers to the local variables of […]

Inner Classes in Java

java-thumbnail

As we all know what an inner class is so lets try to know few more rules about Inner Classes. Inner classes cannot have static members. only static final variables. also read: Java Tutorials Java EE Tutorials Design Patterns Tutorials Java File IO Tutorials Interfaces are never inner. Static classes are not inner classes. Inner […]

Abstract keyword In Java

java-thumbnail

What is Abstract As we all know,An abstract method declaration introduces the method as a member, providing its signature, return type, and throws clause , but does not provide an implementation. Every subclass of A that is not abstract must provide an implementation for method, or a compile-time error occurs. also read: Java Tutorials Java […]

JSF Best Practices

JSF-Thumbnail

Here I am documenting some best practices can be followed during JSF project development. Open Source Components Use myfaces . It doesn’t matter which one you use because both comes from Sun. Sun offers myfaces through open-source community. also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF Use richfaces to get […]

ThreadLocal in Java

java-thumbnail

ThreadLocal is one of the rarely used class in Java. I found it is one of the powerful class in Java on multi-threaded programming. In multi threaded program generally we use session object to track the current users information. also read: Java Tutorials Java EE Tutorials Design Patterns Tutorials Java File IO Tutorials These information […]

Why multiple inheritance is not allowed in Java?

java-thumbnail

For long time I had a question “why Sun introduced Interface concept instead of C++ style of multiple inheritance?“. I did googling but many articles and forums talks about difference between abstract class and Interface not why Interface concept required in Java. After extensive search and analysis I came to know the reason behind the […]

Servlet Life Cycle

java-ee-thumbnail

Before start writing the servlet, it is important to know the life cylce of every servlet instance created. Read What is Servlet? tips to know about the servlet basics. also read: Java EE Tutorials Servlets Interview Questions New Features in Servlets 3.0 Asynchronous Servlets in Servlets 3 Servlet Life Cycle Methods The following are the […]

SAR (Service Archive) file in JBoss

wildfly-thumbnail

This tips explains how to create and deploy the SAR file in the JBoss application server. SAR files are only used in the JBoss application server. It cannot be used in the other application server environments. Before looking into creating a SAR file, first let you know what is SAR file. also read: WebLogic Interview […]

New Features in JSF 2.0

JSF-Thumbnail

JSF 2.0 proposal has been posted on March 2007 and planned for the release in last quarter of 2008. It will be shipped with JEE 6.0 release. Looking into the features lits of the JSF 2.0, it is added lots of interesting features in the list and also they are aiming to attract more new developers […]

Close
Please support the site
By clicking any of these buttons you help our site to get better