Friday, December 21, 2007

Automatic memory management :

In Java, this potential problem is avoided by automatic garbage collection. The programmer determines when objects are created, and the Java runtime is responsible for managing the object's lifecycle. The program or other objects can reference an object by holding a reference to it (which, from a low-level point of view, is its address on the heap). When no references to an object remain, the Java garbage collector automatically deletes the unreachable object, freeing memory and preventing a memory leak. Memory leaks may still occur if a programmer's code holds a reference to an object that is no longer needed—in other words, they can still occur but at higher conceptual levels.

Monday, November 26, 2007

Structural Analysis for Java :

Structural Analysis for JavaTM (SA4J) is a technology that analyzes structural dependencies of Java applications in order to measure their stability. It detects structural "anti-patterns" (suspicious design elements) and provides dependency web browsing for detailed exploration of anti-patterns in the dependency web.

SA4J also enables "what if" analysis in order to assess the impact of change on the functionality of the application; and it offers guidelines for package re-factoring.

Wednesday, October 31, 2007


Getting started with emerging Java technologies :

Emerging Java technology is available in the following categories on alphaWorks:

APIs
- Application Programming Interfaces are sets of classes, interfaces, and principles of operation that constitute a Java extension. They are scalable for use in domains ranging from first-party call control in a consumer device to third-party call control in large, distributed call centers.

Application Development
- Application development resources vary from information for developers and software managers to tools and applications that provide time- and cost-effective foundations for solution development.

Components
- Java components are self-contained elements of software that can be controlled dynamically and assembled to form applications.

Developer Kits
- These include Software Development Kits for compiling and class files for coding Java.

IDEs - Integrated Development Environments (IDEs) use an editor pane to display source code and indicate the correct line. An IDE allows collaboration on projects using a platform of choice.

Reference Implementation - This category includes extended classes and code for adding to existing Java functionality.

Utilities – These are a large collection of useful tools for creating Java applications, including tools that parse numbers into integer, long, or double values, non-numerics, and string padding.

Monday, July 02, 2007

Blocks in Java Program :--

The braces in the program form a block that groups the components of the program. In Java, each block begins with an opening brace ({) and ends with a closing brace (}).

Every class has a class block that groups the data and methods of the class.
Every method has a
method block that groups the statements in the method.

Blocks can be nested, meaning that one block can be placed within another, as shown in the following code.





Tuesday, May 29, 2007

  • Java Platform Standard Edition (Java SE): This kit is necessary for developing all applications, except those designed for consumer devices (See the Micro Edition). Java SE comes bundled with the compiler, a runtime environment, and core API.
  • Java Platform Enterprise Edition (Java EE): This packages includes an application server, web server, J2EE APIs, support for Enterprise JavaBeans, Java Servlets API, and JavaServer Pages (JSP) technology. Use J2EE with the Java SE.
  • Web Applications: Sun Java Studio Creator IDE is great for quick and easy web application development. In addition, this IDE is built on NetBeans, starting with a subset of the functionality and extending it. Java Studio Creator allows you to build applications visually, like with MS Visual Basic for building asp.net applications. The programming part is cleanly separated from the UI part.
  • Java Platform Micro Edition (Java ME): If you are interested in developing programs for Palm Pilots, screen phones, and other consumer devices, this kit provides tools for compiling, deployment and device configuration, and APIs that are specialized for each type of device.
JavaTM SE 6 Platform at a Glance

This document covers the JavaTM Platform, Standard Edition 6 JDK. Its product version number is 6 and developer version number is 1.6.0, as described in Platform Name and Version Numbers. For programmer guides or information on a feature of the JDK, click on a component in the diagram below.

JDK Java Language
Java Language
Tools &
Tool APIs
java javac javadoc apt jar javap JPDA jconsole
Security Int'l RMI IDL Deploy Monitoring Troubleshoot Scripting JVM TI
JRE Deployment
Technologies
Deployment Java Web Start Java Plug-in
User Interface
Toolkits
AWT Swing Java 2D
Accessibility Drag n Drop Input Methods Image I/O Print Service Sound
Java SE
API
Integration
Libraries
IDL JDBCTM JNDITM RMI RMI-IIOP Scripting
Other Base
Libraries
Beans Intl Support I/O JMX JNI Math
Networking Override Mechanism Security Serialization Extension Mechanism XML JAXP
lang and util
Base Libraries
lang and util Collections Concurrency Utilities JAR Logging Management
Preferences API Ref Objects Reflection Regular Expressions Versioning Zip Instrument
Java Virtual
Machine
Java HotspotTM Client VM Java HotspotTM Server VM

Platforms
SolarisTM Linux Windows Other

Wednesday, April 18, 2007


Java Platform:-

The Java platform is the name for a bundle of related programs, or platform, from Sun Microsystems which allow for developing and running programs written in the Java programming language. The platform is not specific to any one processor or operating system, but rather, an execution engine (called a virtual machine) and a compiler with a set of standard libraries are implemented for various hardware and operating systems so that Java programs can run identically on all of them.

Java Sun Logo

Different "editions" of the platform are available, including:

  • Java Standard Edition or Java SE (formerly J2SE) for desktop machines
  • the Java Enterprise Edition or Java EE (formerly J2EE) for web servers
  • the Java Micro Edition or Java ME (formerly J2ME) for hand-held devices such as smart phones.

As of December 2006, the current version of the Java Platform is specified as either 1.6.0 or 6 (both refer to the same version). Version 6 is the product version, while 1.6.0 is the developer version.

Thursday, March 01, 2007

In Java, most of the case user can use Double rather than float. Due where memory constraint exists coder use float.

Wednesday, February 28, 2007

Java Development on Eclipse's IDE:--

Java Coder and even new bee's have a greater scope of working on eclipse IDE rather than Net Beans.

Friday, January 19, 2007

Testing Mines

Saw Practices :--

These are the Management Check in SDLC Phases.
Testing Mines

Shark Tooth:-

In nut shell it consists of many design reviews and many check to get the final product.