Dateformat Example

Dateformat Example

The Java Dateformat class is used to format the date/time in Java applications. You can use the Dateformat class while generating the report to format the date/time in required format.

To format a date for the current Locale, use one of the static factory methods:

String myString = DateFormat.getDateInstance().format(myDate);

DateFormat provides many class methods for obtaining default date/time formatters based on the default or a given locale and a number of formatting styles. The formatting styles include FULL, LONG, MEDIUM, and SHORT. More detail and examples of using these styles are provided in the method description.

Here is the example of Dateformat class:

Thanks

Bufferedreader example

Bufferedreader example

Here we have provided the best links for Bufferedreader class examples. You can use Bufferedreader class for buffering while reading the streams.

The Bufferedreader  class reads  the text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.

Here are the example links of Bufferedreader class

Thanks

AWT basics

AWT basics

Are you looking for the AWT Basics to help you learn AWT quickly? Here we have provided you the links to our AWT tutorials.

AWT stands for abstract window toolkit, which is used to develop platform-independent windowing, graphics, and user-interface for the desktop application using Java technology.

Now a day’s developers are using Swing components instead of AWT to develop good GUI for windows applications.

Here are the links to AWT Tutorials:

Thanks

Args tutorial

Args tutorial

Are you looking for Args tutorial in Java Technolog?

Args represents the command line arguments in the Java program. You can pass any number of the parameters through the args variable.

I this example we will show how to use the Java Args.

Learn about Java Args Tutorial.

Thanks

Java Args example

Java Args example
In your main method you can pass the arguments using args[] parameters. The args[] parameter can take any number of command line parameters.

Each argument is identified by a space. For example you  can type following command on command prompt to call the java program:
C:\>java MyProgram param1 param2 param3

In the above code we are trying to execute the MyProgram java program passing the parameters “param1 param2 param3”.

Search for more Java args example.

Thanks

Delhi Population by District

Delhi Population by District

Are you looking for the District wise population distribution in Delhi? Here we have collected the information and presented in easy to read format.

Delhi is the Capital of India and people from various parts of the country are coming to Delhi due to various reasons. In most of the cases people come to Delhi to find a good job. After getting the job people stay in the Delhi and this way the population of Delhi is growing day-by-day.

Due to good job opportunities and high living standards the population of Delhi is increasing daily.

Population & Population Density in Delhi Districts wise.

District 2001 Population 1991 Population Change Area in KM2 Area in SqMi 2001 Population per KM2 2001 Population per SqMi
North West 2,847,395 1,778,288 60.1% 440 170 6,472 16,776
North 779,788 688,251 13.3% 60 23 13,019 33,746
North East 1,763,712 1,085,228 62.5% 60 23 29,397 76,196
East 1,448,770 1,023,070 41.6% 64 25 22,638 58,677
New Delhi 171,806 167,665 2.5% 35 14 4,909 12,725
Central 644,005 656,545 -1.9% 25 10 25,759 66,768
West 2,119,641 1,434,031 47.8% 129 50 16,431 42,588
South West 1,749,492 1,084,687 61.3% 420 162 4,166 10,799
South 2,258,367 1,502,873 50.3% 250 96 9,034 23,417
Total 13,782,976 9,420,637 46.3% 1,483 572 9,296 24,094

Source: Census of India

Read latest Delhi News.

Thanks

Delhi News

Delhi Latest News

Read latest news from Delhi and NCR.

Delhi is the Capital of India and heart of the country.

Area of Delhi: 1,483 sq km

Population of Delhi: 11,680,000

According to Census 2001, the total population of the nine districts of the national capital territory is as follows:

District

Population

South

2,258,367

South West

1,749,492

North

779,788

North East

1,763,712

North West

2,847,395

East

1,448,770

Central

644,005

New Delhi

171,806

West

2,119,641

Read Delhi News.


Hibernate tools update site

Hibernate tools update site

Are you looking for hibernate tools update site?

Hibernate Tools is also available for the popular Eclipse plugin. You can download the latest version from Hibernate Tools site.

You can also run Hibernate Tools as ant task.

Hibernate tools is used to enhance the programmers productivity.

Hibernate tools update site is http://download.jboss.org/jbosstools/updates/stable

From the above url you can download the latest version of Hibernate tools.

Read more about Hibernate Tools at http://www.roseindia.net/hibernate/hibernatetools/

Thanks

Jt 2.7 has been released

Jt 2.7 has been released – 14 Aug 2008

The latest version Jt 2.7 of Java Pattern Oriented Framework has been released on 14 Aug 2008. It facilitates rapid implementation of java applications for large critical systems. Jt implements some popular java patterns like Data Access Objects (DAO), J2EE and GoF patterns.

Jt 2.7 is about to bring enhancements to the Jt components and Jt Automated Wizard (Jt Wizard). Jt wizard is capable of generating framework applications automatically which are based on java design patterns like DAO, Jt messaging, MVC, GoF etc. The Jt wizard available currenty is integrated with the concepts of Hibernate (DAO) and Struts (MVC). Jt wizard can automatically create the DAO mapping files, MVC configuration files, JSP and other Java Classes. It is a nice example of a reference web application built on top of the Jt framework. 

The newest features that are included in this release can be summerized as below-

·  It implements the J2EE design patterns J2EE business delegate, J2EE Session Facade, J2EE Service Locator and J2EE Value Object.

·   It implemets Web Services adapters and proxies for web services integrations and simplifies web services development and deployment  using Jt messaging API.

·       It provides a jBPM Adaptor for Business Process Modelling (BPM) integration. jBPM is an open source technology which helps users to build powerful business process models with the implenetation of Jt application using a Process Graph.

·   Jt also integrates with MVC and AJAX design patterns. A transparent interface between these technologies and Jt framework API is provided by the Universal Jt components and and Adapters.

·    It integrates with Hibernate Data Access Objects through a transparent interface provided by a Jt Adapter.

·          A JDBC Adapter provides integration with JDBC.

·     Request log, Undoable operations and Querying mechanisms are supported by the Command Pattern (JtCommand) implementation.

·          A JavaMail Adapter is provided for JavaMail API integration.

·      Jt Adapters and proxies are implemented to integrate with J2EE EJBs providing  the clients transparent and easy access to the framework objects.

·    Customization of the framework applications can be done easily by using Resource files that provide the facility of automatic loading of object attributes.

·         Jt framework can be integrated with JSP (Java Server Pages) also.

·     It provides XML API integration powered by built-in XML/Bean mapping facilities and XML Adapters.

This open source java technology is based on a simple messaging architecture that enables encapsulation and loose coupling of framework objects. The Jt components can be plugged into complex framework applications by transposing with each other using a “lego” approach.

Java pattern oriented framework defines the following goals and requirements-

Read more at:

https://jt.dev.java.net/#features

http://www.fsw.com/Jt/Jt.htm#_Toc202718745


Java Parallel Processing Framework (JPPF) version 1.4 is now available

Java Parallel Processing Framework (JPPF) version 1.4 is now available – Wednesday, 20 Aug 2008

JPPF has recently announced the availability of the Version 1.4 in the market.

The very best new features included in JPPF version 1.4 are-

·          The new JPPF library has the build and version information.

·        It provides the facility of restart or shutdown of nodes from a distant Administration console or by using the API.

·    Features in automatic load-balancing between local and remote executions which facilitates the clients to process their tasks locally.

·          Implementation of multi-core multi-CPU hardware.

·          Same codes can be processed purely in both local and distributed way or also in an integrated manner.

·          In the distributed execution of small computing tasks, the overhead is minimized or disappeared.

·    To carry out a much easier implementation of the technology, the nodes security policy can be downloaded form the server.

·          Collection of the CPU time used by the tasks is done by the nodes.

The open source JPPF (Java Parallel Processing Framaework) Community is based on java technology dealing in Grid Computing. It enables the applications to run in parallel and also accelerates their execution. It applies the popular java idiom “write once, deploy once, run everywhere”.

The JPPF has a three-tiered architecture comprising of the following three layers-

· Client Layer: This layer includes an API and communication tools which enable the submission and execution of the tasks by the framework in parallel.

· Service Layer: This layer provides interface for the between the clients and the nodes. It also manages the execution queue, the load-balancing and recovery features. It is responsible for the dynamic loading of both framework and application classes onto the appropriate nodes.

·  Execution Layer: This layer consists of the nodes which execute individual tasks and  return the execution results. The nodes dynamically request the JPPF driver for the code needed to execute the client tasks.

The basic features of a JPPF framework are-

·         A JPPF Grid can be uploaded and run easily and quickly, only in a few minutes.

·      It is a simple programming model which deals with the complexity of distributed and parallel processing.

·  It features as a highly scalable java framework for distributed execution of CPU-related tasks.

·          It seamlessly integrates with the J2EE application servers.

·          It provides graphical tools that monitors and administers the executions.

·       It provides highly reliable services featuring self-repair and fault-tolerence abililities.

·          It includes a completely documented sample JPPF applications providing solution to real-life problems.

·          It can be run on any platform that is based on the java technology.

·          It is an source project featuring a flexible, business-friendly licensing policy.

 

Related Links:

http://jppf-project.sourceforge.net/api/index.html

http://jppf-project.sourceforge.net/wiki/index.php/JPPF_Performance

http://jppf-project.sourceforge.net/wiki/index.php/Architecture