Java Programming Introduction

Java programming language is useful for development of enterprise grade applications. Java language comes in light from a language named Oak. Language Oak was developed in the early the nineties at Sun Microsystems as a platform-independent language aimed at allowing entertainment projects such as video game consoles and VCRs to communicate. Java as programming language was first slated to appear in small devices such as set-top boxes designed to provide video-on-demand services. It was time for java unsuccessful so in 1995 Sun changed the name to programming and modified Language to take advantage of the burgeoning WWW. Java programming fully is an object-oriented language, and this is very similar to C++. Java Programming Language is simplified to eliminate language features that cause common programming errors. Java programming source code files are compiled into a format called byte code, which can then be executed by a Java programming interpreter. For new to programming technology and want to learn Java programming and make career in the Java programming technology then there is we providing few steps in programming tips. There is an explanation for binger to learn Java programming and master in Java programming technologies. Java programming requires a lot of effort to learn and master the necessary Java programming technology to start your real life projects. Learn OpenSource provide full support in the form of on line tutorial and we tried to put support examples related to each Java programming technology that will help you master the concepts.

Features of Java Programming

Java programming technology having a list of features some of them are simple, secure, robust, complete OOP’s base and platform independent high level programming language that mean java is a language that having a numbers of features. Java is also portable, high performance, multithreaded that is the concept of OOP’s and networks that enable it in constructing software that can run along in small machines that are portable. Java is completely base on OOP’s that mean the whole java technology is work on the concept of Java Virtual Machine that is JVM that is main part of java compile, that acts as translators of byte code into machine language and compile the code. The work of JVM converts the Java byte codes into platform specific machine language that is the main concept of java. Java technology is high-level, object-oriented, very robust programming language. Java is platform independent programming language and you can run your compiled code on any operating system without recompiling your source code. Java technology is based on the concept of a single Java virtual machine a translator between the language and the underlying software and hardware. The language must emulate the JVM, enabling Java programming to run on any system that has a version of the JVM. For start Java programming then first there is a need that are text editor to create and edit the source code for entail. Then their requirement of Java complier, java code changes the source code into byte code with help of JVM. The compile byte code can be run on any platform having Java interpreter that can convert the byte code into codes suitable for the operating system and end user can find required out put.

Java is high-level powerful programming language for enterprise application provides a powerful software platform, and for the security of the software java is very good reason is that java work in the concept of OOP’s as the JVM installed on different platform understand the same byte code that in java only. Java is also for server side web programming and runs in a secured manner over Internet that runs application on Internet. Java enhances the computing power of end users the form of desktop to the resource of the web that run on net.

    Bookmark Java Programming Introduction at del.icio.us    Digg Java Programming Introduction at Digg.com    Bookmark Java Programming Introduction at Spurl.net    Bookmark Java Programming Introduction with wists    Bookmark Java Programming Introduction at Simpy.com    Bookmark Java Programming Introduction at NewsVine    Blink this Java Programming Introduction at blinklist.com    Bookmark Java Programming Introduction at Furl.net    Bookmark Java Programming Introduction at reddit.com    Fark Java Programming Introduction at Fark.com    Bookmark Java Programming Introduction at blogmarks    Bookmark Java Programming Introduction at YahooMyWeb

New To Java

If you are new to Java

technology and you want to learn Java and make career in the Java technology then this page is for you. Here we have explained how to learn Java and master the Java technologies.

Java is a vast language and it requires a lot of effort to learn and master the necessary Java technology to start your real life projects.

Here at Learn Open Source, we have developed hundreds of tutorials, examples and articles to help you learn Java quickly and easily. We have tried to put support examples related to each Java technology that will help you master the concepts.

These tutorials and examples are arranged in a sequence, so that you can learn Java step by step and master the Java and JEE technologies.

Basics of Java Technology
This section provides an overview of Java technology as programming language and a platform. Java technology is a simple, secure, robust, complete object oriented and platform independent high level programming language. It is also portable, high performance, multithreaded and networksavy that enable it in constructing software that can run along in small machines. The whole technology is based on the concept of Java Virtual Machine (JVM) that acts as a translators of byte code into machine language. In other words JVM converts the java byte codes into platform specific machine language.

Understanding the Java Technology
Java technology is high-level, object-oriented, very robust programming language. Java is platform independent programming language and you can run your compiled code on any operating system without recompiling your source code. Java technology is based on the concept of a single Java virtual machine (JVM) — a translator between the language and the underlying software and hardware. All implementations of the programming language must emulate the JVM, enabling Java Programs to run on any system that has a version of the JVM.

If you want to start java programming then you need to use a text editor to create and edit the source code. By using the Java complier, you can change the source code into byte code. The byte code can be run on any platform having Java interpreter that can convert the byte code into codes suitable for the operating system.

Why Java Technology is so important?
This high-level powerful programming language provides a powerful software platform as the JVM installed on different platform understand the same byte code. This is ideal for server side web programming and runs in a secured manner over internet. It enhance the computing power of the users by taking merely from desktop to the resource of the web. It contains JVM and Java Applicaation Programming Interface (API) that are kinds of readymade software components, and for using any component, the need is just to import a related package in your program use the functionality. It offers development tools that can be used in compiling, running, debugging and documenting the application, making the Java programming fun and easy. The automatic garbage collection mechanism helps in avoiding memory leaks and its coding takes less development time than other programming languages like C++.

Different Editions of Java Technology

a) Java SE - Java SE or Java Standard Edition provides tools and API’s that you can use to create server applications, desktop applications, and even applets. These programs developed using Java SE can be run on almost every popular operating system, including Linux, Macintosh, Solaris, and Windows.

b) JEE - Based on the foundation framework of the standard edition, Java Enterprise Edition helps in web application service, component model and enterprise class service oriented architecture (SOA).

c) JME - Java Micro Edition or JME for short is an accumulation of Java API’s that are used for the development of software for devices like mobile phones, PDAs, TV set-top boxes, game programming. The platform of micro edition generally consists of an easy user interface, a robust security model and a wide variety of built-in networks for running Java based application.

Components of each edition

JSE Components

JavaBeans - It is the component architecture for J2SE platform and one can develop and assemble these software programs for better web application. It is a reusable software component that can be manipulated visually in a builder tool. This software assists visual builder tools in using reflection, introspection, and also analyze and customize JavaBeans.

Java Foundation Classes (JFC) - It is a part of Java class libraries based on the Java platform used for developing graphical user interface (GUI). JFC helps in 2D graphics, imaging, text formatting and printing with the help of Abstract Window Toolkit (AWT), Swing and Java2D. With the help of input method framework, the JFC technology assists in preparing application that can be accessible to all users around the world in different languages. Drag and Drop is another feature of JFC that supports data transfers between different Java applications.

JavaHelp - It is a platform independent and a feature oriented software system that offers developer an automated help component. JavaHelp 2.0 API is useful while building online documentation and presenting online information to the application users.

Java Web Start - It is framework in the Java platform that assists in starting Application software directly from the internet by using a web browser. As we know Java applet can run in a browser but in case of Java Web Start, it doesn’t run inside and solve many complex problems associated with Java plugins and JVM. It also provide many classes that in turn provides various services and allow better access to resources. Version 1.0 was introduced in the year 2001. Now with the release of J2SE 1.4, Java Web Start is included with Java Runtime Environment and does need any separate installation.

Java Database Connectivity (JDBC) - JDBC API is a part of Java Standard Edition that helps in accessing data from a SQL based database. Besides, it also process the result and allows in using the programming language with “Write Once, Run Anywhere” feature. Some of its key features are like full access to metadata, no special installation and database identification.

Java Media Framework (JMF) - Its an advanced API that allows Java Developers to process and add audio-video source to Java application and applets. It is useful for multimedia developers to capture, playback, transcode different media formats.

JEE - Components:

Enterprise JavaBeans (EJB) - This technology is a server side component of Java platform used for the construction of enterprise application. It is one of the Java APIs attached with the enterprise edition. By using Java technology, EJB helps in quick development of small, distributed, transactional and secure application.

JavaMail - This JavaMail API technology allows to build mails and messaging application in a platform independent and protocol independent framework. It is both a part of JSE and JEE platform. Thus, JavaMail uses an extensible platform for transferring all kinds of Multimedia Internet Mail Extension (MIME).

Java Message Service (JMS) - Developed under Java community process, JMS technology is used for sending messages between users. Basically, it is an enterprising messaging tool used for building enterprising application. The JMS API is a combination of Java technology and enterprising messaging that provides facilities for building small message based application. It functions under two models: Point-to-Point and Publishing & Subscribing model.

JavaServer Pages (JSP) - The JSP technology enables web developers in developing and maintaining web content pages in formats like HTML and XML. With the help of JSP, it becomes very easy to build server and platform independent web based application. This uses HTML and XML tags that offers logical solution for the content. This separately user interface and content development from each other, which allows the designer to change page layout without changing the content.

Java Servlets - This enables a developer in adding content to a web server by using Java platform. This provides the mechanism for enhancing the functionality of web server. In short, servlets provides platform independent and component based web based application without the performance limiting of CGI program.

JME - Components:
Connected Limited Device Configuration (CLDC) - It is one of the configurations of Java Micro Edition. ‘Configuration’ describes minimal features of a complete Java. The CLDC specifies the capabilities of JVM, the base set of API for resource limited devices like pager and mobile phones. There are two version of CLDC: version 1.0 was released in 2000 and came to be known as Java Specification Request (JSR)30. Later version 1.1 or JSR 139 but 1.0 is more widely used. The Connected Limited Device Configuration and the Mobile Information Device Profile (MIDP) together provides solid Java platform for developing application to run on less processing power devices.

Mobile Information Device Profile (MIDP) - This is another configuration of Java Micro Edition and coupled with CLDC, it provides a farm Java Runtime Environment for various mobile devices and other personal digital assistance (PDA). With the help of MIDP, developers can develop application once and then redistribute them into various mobile information devices in a very small period of time. Its principal functions include the user interface, network connectivity data storage and overall application process management. There are two versions of MIDP: one is MIDP 2.0 or JSR 118 and the second one is the MIDP 1.0 or JSR 37.

Connected Device Configuration (CDC) - Developed under the Java Community Process (JCP), it is a standard framework of Java technology used for building and delivering application that can be shared in a wide range of networks and devices ranging from pagers, mobile phones, set top box and other PDA devices. It is in two versions: the JSR 36 (CDC 1.0) and the latest one is the JSR 218 (CDC 1.1).

    Bookmark New To Java at del.icio.us    Digg New To Java at Digg.com    Bookmark New To Java at Spurl.net    Bookmark New To Java with wists    Bookmark New To Java at Simpy.com    Bookmark New To Java at NewsVine    Blink this New To Java at blinklist.com    Bookmark New To Java at Furl.net    Bookmark New To Java at reddit.com    Fark New To Java at Fark.com    Bookmark New To Java at blogmarks    Bookmark New To Java at YahooMyWeb

Eclipse Introduction

New to Eclipse

Well if have been routed to this page the chances are big that you are a Java Programmer and if not at least you are programmer who wants to learn about this language and know about things that make this language really great.

If you are looking for a one liner than “Eclipse is an IDE which helps you to developing Java Applications of all most any type with reduced development and maintenance time”.

Eclipse is an open source community whose projects are focused on building an extensible development platform, runtimes and application frameworks for building, deploying and managing software across the entire software life cycle. Many people know Eclipse, and hopefully love it, as a Java IDE but Eclipse is much more than a Java IDE(Integrated Development Environment).

An IDE provides you with editor for writing down your application code and a run time support(which in our case is JRE). Eclipse provides you with several other out of the box tools to manage your software development.For example if you want you can directly configure your Application Servers like Tomcat,Geronimo,JBoss directly in Eclipse Environment which helps you to you deploy your projects to the web container only by a single click.You can even start stop your application servers directly from Eclipse Consle.

Apart from this there are several plugins available for Eclipse both open source and the ones that have license.In Eclipse every thing is based on the simple concept of plugins like if want to use some available features of Eclipse that you don’t have in your version you simple download that the plugin for that particular feature or download it via Eclipse’s inbuilt Application Updater.

One Eclipse Add on that I recommend is MyEclipse.MyEclipse has a inbuilt support for Struts,Hibernate,Web Services,etc.It comes with a configuration support for many application servers which the basic version of Eclipse lacks.

With Eclipse you just remember one thing the more you work the more will know about this wonderful tool.

With latest development the Eclipse has started to provide support for languages like C,C++,PHP,Ruby.

Over the time the Eclipse have had the huge support from IBM,and it has proved to be the best Java Development IDE available and the number of people using Eclipse have grown significantly in number.

The Eclipse is developed under Eclipse Foundation.

What is the Eclipse Foundation?

The Eclipse Foundation is a not-for-profit, member supported corporation that hosts the Eclipse projects. The Foundation provides services to run the IT infrastructure, IP due diligence, mentor the open source projects during the Eclipse development process and provide marketing and business development support for the Eclipse community.

Download Eclipse

    Bookmark Eclipse Introduction at del.icio.us    Digg Eclipse Introduction at Digg.com    Bookmark Eclipse Introduction at Spurl.net    Bookmark Eclipse Introduction with wists    Bookmark Eclipse Introduction at Simpy.com    Bookmark Eclipse Introduction at NewsVine    Blink this Eclipse Introduction at blinklist.com    Bookmark Eclipse Introduction at Furl.net    Bookmark Eclipse Introduction at reddit.com    Fark Eclipse Introduction at Fark.com    Bookmark Eclipse Introduction at blogmarks    Bookmark Eclipse Introduction at YahooMyWeb

What is JVM?

Java Virtual Machine

At the heart of the Java platform lies the Java Virtual Machine, or JVM. Most programming languages compile source code directly into machine code, suitable for execution on a particular microprocessor architecture. The difference with Java is that it uses bytecode - a special type of machine code.

Java bytecode executes on a special type of microprocessor. Strangely enough, there wasn’t a hardware implementation of this microprocessor available when Java was first released. Instead, the processor architecture is emulated by what is known as a “virtual machine“. This virtual machine is an emulation of a real Java processor - a machine within a machine (Figure One). The only difference is that the virtual machine isn’t running on a CPU - it is being emulated on the CPU of the host machine.

The Java Virtual Machine is responsible for interpreting Java bytecode, and translating this into actions or operating system calls. For example, a request to establish a socket connection to a remote machine will involve an operating system call. Different operating systems handle sockets in different ways - but the programmer doesn’t need to worry about such details. It is the responsibility of the JVM to handle these translations, so that the operating system and CPU architecture on which Java software is running is completely irrelevant to the developer.

The Java Virtual Machine forms part of a large system, the Java Runtime Environment (JRE). Each operating system and CPU architecture requires a different JRE. The JRE comprises a set of base classes, which are an implementation of the base Java API, as well as a JVM. The portability of Java comes from implementations on a variety of CPUs and architectures. Without an available JRE for a given environment, it is impossible to run Java software.

    Bookmark What is JVM? at del.icio.us    Digg What is JVM? at Digg.com    Bookmark What is JVM? at Spurl.net    Bookmark What is JVM? with wists    Bookmark What is JVM? at Simpy.com    Bookmark What is JVM? at NewsVine    Blink this What is JVM? at blinklist.com    Bookmark What is JVM? at Furl.net    Bookmark What is JVM? at reddit.com    Fark What is JVM? at Fark.com    Bookmark What is JVM? at blogmarks    Bookmark What is JVM? at YahooMyWeb