NetBeans IDE 6.1 - AJAX Programing

April 15th, 2008

The NetBeans IDE 6.1 release provides several new features and enhancements. Exciting new features include support for AJAX programming, mobile application programming and customizable code generation.

I will target the AJAX part and will introduce the newly added AJAX support. Those of you who think that AJAX programming is very difficult and takes a lot of time, I would say: THINK AGAIN

NetBeans IDE 6.1 makes AJAX programming simpler by providing JavaScript editor and jMaki Support. jMaki is an Ajax framework that provides a lightweight model for creating JavaScript centric Ajax-enabled web applications using Java, Ruby, PHP, and Phobos.

Read the rest of this entry »


Creating JUnit Test Cases using NetBeans

August 6th, 2007

In a Big project a programmer might need to test each component of our program independently from the rest of our program. In Java this is supported by JUnit Test cases.

In the design phase of the project every method is supposed to do some particular job and have also come up with a set of tests to ensure that method is functioning properly. JUnit provides a frame work to take each one of the methods and perform individual tests so that we can ensure that we are getting proper values.

Read the rest of this entry »


Toolbar Settings And Shortcuts In NetBeans IDE

August 2nd, 2007

1. NetBeans IDE provides you feature for setting “Toolbars” and their components so as to show/hide components in IDE.Under “view->Toolbars” you can add/remove Toolbar components. In the example below you can see Toolbar components .You can select/deselect them to show/hide in IDE panel.

Read the rest of this entry »


How to set General options in NetBeans IDE

August 2nd, 2007

Every IDE has some basic settings so that look and feel of the IDE can be adjusted as per user convenience. In this blog we are going to explore the basic working of the IDE “Options”.

Read the rest of this entry »


Generating JavaDoc For a Project In NetBeans IDE

August 2nd, 2007

JavaDoc is a set of Html Files For any Java Project .In Big Java Projects It is always better to generate document of the code written so as to make better understanding of the classes’ usage and detail about their methods .Here is the small introduction to JavaDoc Generation using NetBeans IDE.

Read the rest of this entry »


Calling a Stateful Session bean in NetBeans

July 30th, 2007

In the previous blog Introduction to stateful session Bean in NetBeans there was information regarding developing stateful session bean. Here we will learn how to make call business methods of a stateful session bean.

Read the rest of this entry »


Introduction to Stateful Session Bean In NetBeans

July 30th, 2007

In previous blog Creating J2ee Modules in NetBeans IDE we got the basic knowledge about creating EJB-Module in NetBeans IDE.

Here we will learn to create a stateful session Bean using NetBeans IDE.

Read the rest of this entry »


Calling a Message Driven Bean in NetBeans

July 30th, 2007

In previous blog Creating Message Driven Beans in NetBeans we learned about developing a Message Driven Bean in NetBeans IDE. Here we will learn how to call it using features of NetBeans IDE.

Read the rest of this entry »


Debugging In NetBeans IDE

April 18th, 2007

Efficient programs always need locating the bugs and fixing those. Basic meaning of debugging a program is to run through the code with the Interpreter. Debugging enables the user to see whether the path of execution is as per his expectations or same as the path meant for them and only through them. When a programmer says he has debugged the program, it means bugs has been worked out and bugs no longer exist.

For a Java programmer there are varieties of tools but if you are using an editor like NetBeans then it becomes quite easy for you to debug the program.

Read the rest of this entry »


How To Edit/Add JSP Pages in NetBeans IDE

April 15th, 2007

NetBeans IDE is very useful for J2EE application development. It provides support for developing EJB, WebServices, JSP, Servlets along with the J2EE components. Here is an introduction of developing JSP pages using NetBeans IDE.

NetBeans has full feature support for generating HTML elements, JSP tags, database JSP tags automatically.

Read the rest of this entry »


Override Methods In NetBeans IDE

April 12th, 2007

NetBeans has a very rich set of features which allow users to generate code or templates. There are a variety of cases where user can generate code using NetBeans IDE. Here we will discuss an easy way to generate overriding methods in sub classes.

Read the rest of this entry »


How To Add Fields And Generating Getter-Setters

April 10th, 2007

Normally it is a good practice to have class variables declared as private and use non private “getter and setter” methods to access them. This is otherwise called as “Data Encapsulation” in Object Oriented Programming.

NetBeans provides a way to automatically generate getters and setters of your class variables. It is fast and efficient. Here are the steps.

Read the rest of this entry »


Calling A Session Bean Using A Web Module

April 7th, 2007

It is assumed that the reader knows how to create an Enterprise Application and to add J2EE modules into it. To know more click here. So you created an Enterprise Application and added an EJB module and a Web module to it. Here we will discuss how to call a “Session Bean” from the web module.

Read the rest of this entry »


Adding Business Methods to an EJB in NetBeans

April 3rd, 2007

Every EJB has some business methods that can be called after looking up the EJB by it’s JNDI name. To call a business method it should be declared in Remote Interface and the related EJB should have it’s definition. Manually adding a method to a EJB is not an easy task for a J2EE programmer. NetBeans provides an easy way for adding a business method to EJB so that it will be added to Remote Interface and EJB automatically. After adding business method you just have to write business logic in EJB class. Other configuration task will be handled by NetBeans.

Read the rest of this entry »


Creating a Session Ejb in NetBeans IDE

April 2nd, 2007

Here I am assuming that you can add a J2EE Module in NetBeans IDE. Suppose we have created a J2EE Enterprise Application that have two J2EE modules named JavaTipsSessionBean-EJbModule and JavaTipsSessionBean-WebModule. So in this step we will add a stateless session bean to the EJB module. Right click on SessionBean EJB-Module and select Session Bean.

Read the rest of this entry »


Creating J2ee Modules In NetBeans IDE

March 31st, 2007

NetBeans IDE is used for creating and running applications. Here I will describe how to create a Enterprise Application using NetBeans

Read the rest of this entry »


Configuring Enterprise Application Servers In NetBeans IDE

March 28th, 2007

NetBeans IDE has features for running enterprise applications. An Enterprise Application needs an application server or J2EE container to deploy the jar/war files. By default NetBeans come with a Sun’s application server but other application servers can be configured as well.

Here I will take example of configuring JBOSS server.

Read the rest of this entry »


Developement Of Enterprise Applications in NetBeans IDE

March 24th, 2007

Eclipse is a good Java development environment, But Eclipse itself does’nt support Enterprise Applications. We need to add plugins to it and configure for it. But NetBeans IDE has several features which are very useful for a beginner who is learning Enterprise Applications. It has inbuilt support of Sun Application Server. You need not to configure Application Server in IDE. To develop Session, Entity Beans, Web Services NetBeans provide a great support. It has inbuilt GUI which is very useful to develop Enterprise Applications. NetBeans generates source code for EJB’s, build the module. It also packages Enterprise Applications in jar/war files. Deploying application is very easy just a “click” away. After deploying the Enterprise Applications you can even test your code by making Client applications. Even it generates client code you just need to code your business logic in classes and it launches your Client application within IDE.

Read the rest of this entry »


Introduction

March 23rd, 2007

NetBeans IDE was started as a student project in the Czech Republic around November 2001. But later Sun Microsystems acquired it as an open source project. This was first sponsored open source project of Sun Microsystems. Now it is managed by netbeans.org an independent organization.

The main features of NetBeans IDE are its easy support for developing Web and Enterprise Application in a very quick way. It has almost all the tools software developers need to create cross-platform Java desktop, Enterprise and Web applications. IDE Runs on Windows, Linux, MacOS, as well as Solaris. It is open-source and free.

Read the rest of this entry »