Java Getting Started tutorials
Article explains how JavaServer Faces can be used for user interface design.
Related Tutorials
Java Modeling: A UML workbook, Part 3
you into the gray zone between modeling and method, with a look at requirements gathering via use case modeling. In particular, he focuses on the relationship between user interfaces, system interfaces, and use case descriptions. While tempting to do so, it is generally considered bad form to include user interface logic in a use case.
Data Wizard for Java
Data Wizard for Java is a tool for building a simple graphical user interface (GUI) that makes it easy to collect necessary data. This tool enables the building of data wizard applications using only a scripting scenario in an XML format. Data Wizard for Java can help to produce a GUI by using a simple script to describe the necessary input parameters and the required tools or utilities to be called.
Interfaces in Java
In Java, a class can have at the most one immediate superclass. Multiple inheritance, where a class has more than one superclass, is not allowed in Java. However, one cannot ignore the importance of multiple inheritance because a large number of real-life applications require the use of multiple inheritance. Java provides an alternative approach to support multiple inheritance by introducing a new data type known as interfaces. Although a class cannot inherit multiple classes, it can implement more than one interface.
Data Reading and Writing
Many of the values used in your program simply allow you to display them to the user. In some cases, you may want to request values from the user. As we saw in the previous lesson, there are various types of values you would need the user to supply. Some times the user will clearly understand your request. Some times either your request will not be clear or the user would be playing with the program.
Building Hadoop MapReduce Jobs
Learn to build Hadoop MapReduce job in Java. Hadoop is an open source cluster package that excels at data processing. This tutorial gets you started building simple Hadoop MapReduce jobs in Java.
Building XML With Java And DOM
This tutorial covers building basic XML structures in Java. Learn basic XML structure, and how to build XML in Java with DOM. Also learn to use the TransformerFactory to convert the DOM to strings.
Lean service architectures with Java EE 6
Java EE 6's simplified development model, a few interfaces and annotated classes are all you need to implement the facade, the service, and the domain structure that constitute a lean service-oriented architecture.
Introduction to Servlets
For creating dynamic web applications we need some server resources which process user requests and send response back to user. Typical examples are processing HTML form, database query and sending dynamic HTML content back to user. Early days, we used CGI programs based on scripting languages like Perl, PHP etc. Java Servlets is an alternative to CGI programs based on popular Java programming language.
Struts
Struts is a open source framework which make building of the web applications easier based on the java Servlet and JavaServer pages technologies.
Creating a Browser Detection JavaBean
In this article we will build a browser detection JavaBean which as the name suggests will try to detect your browser and display a useful message. You can use this bean as such or improve it to your liking. It is a very simple and light weight bean and should not take much memory on your server. You can use it on your site to detect user browser and render appropriate HTML to the user.
Variables and Data Types
A typical program uses various values and these values keep changing while the program is running. For example, you create a program that is used to perform calculations, the values entered by one user will obviously be different from the values entered by another user. This also means that, when creating the program, you cannot know all possible values that will be entered in your program. You should still be able to manage the values that the users will eventually enter in your program.
JDBC Introduction
The JDBC ( Java Database Connectivity) API defines interfaces and classes for writing database applications in Java by making database connections. Using JDBC you can send SQL, PL/SQL statements to almost any relational database. JDBC is a Java API for executing SQL statements and supports basic SQL functionality.
JDBC Tutorial
The JDBC ( Java Database Connectivity) API defines interfaces and classes for writing database applications in Java by making database connections. Using JDBC you can send SQL, PL/SQL statements to almost any relational database. JDBC is a Java API for executing SQL statements and supports basic SQL functionality.
Jump into JavaFX, Part 4: The advanced APIs
Jeff Friesen completes his comprehensive tour of the JavaFX APIs with a look at how JavaFX handles media, GUIs, and special effects. You'll also try your hand at building and deploying a stock-ticker application to Google Chrome.
EJB 3.0 Persistence
We will learn how to manage the persistence issues without being tied to use a J2EE application server.we will begin building a very basic sample application that saves and loads data on a database using an EJB 3.0 persistence implementation.
Step by Step Java Tutorial
This tutorial will take you step by step through the process of building applets.
Think small with J2ME
The Java 2 Platform, Micro Edition (J2ME) offers great tools for developers, porting the Java platform's network-centric and platform-agnostic worldview down to memory- and processor-limited devices. Soma Ghosh explains the basics of the J2ME world, showing you the building blocks of the platform and demonstrating a sample application.
Writing A Basic Android Application
Learn to write Android applications. Learn the basics of working with resources, layouts, the AndroidManifest.xml file and building code. Topics covered include creating dialog boxes, playing sounds, creating views and layouts with LinearLayout and RelativeLayout, and launching new views.
Build interoperable Web services with JSR-109
JSR-109 facilitates the building of interoperable Web services in the Java 2 Platform, Enterprise Edition (J2EE) environment. It standardizes the deployment of Web services in a J2EE container. This article discusses the server and client programming models defined by JSR-109 and provides code examples.
Building your first Enterprise JavaBean.
In this tutorial we will learn how to create our first Enterprise JavaBean. We will then deploy this EJB on a production class, open source, and free EJB Server; JBoss. JBoss is a really popular EJB Container and is used by quite a lot of organizations World wide. We will thus also learn how to install and run JBoss Server. The client for our EJB will be a JSP page running in a separate Tomcat Server.
Struts 2 Interceptors Example
In this example you will see how the interceptors are invoked both before and after the execution of the action and how the results are rendered back to the user.
(J2ME) Application Development : MIDP Programming
This chapter handles the life cycle and user interface of Mobile Information Device Profile (MIDP) applications.
Magic with Merlin: Working with preferences
The addition of the java.util.prefs package to Java 1.4 (through JSR 10) lets you manipulate user preference data and configuration data by providing you with access to an implementation-specific registry.
Advanced form processing using JSP
This article examines the processing of a user registration form using JSP and JavaBeans while implementing the Memento design pattern.
Using Custom Cursors in Java
This tutorial shows how to go beyond the predefined cursors in Java and create your own cursors using a GIF or PNG that are dsiplayed when the user moves the mouse over a Java component (AWT or Swing).
A three-pronged solution for identifying users
The problem of system security starts with discovering the identity of the user on the other end of the communications link. In this article, Joseph Sinclair discusses three familiar approaches for identifying users, highlights their strengths and weaknesses (alone and in combinations), and provides some examples of each.
Java generic paged lazy List with JSF/JPA example implementation
Here's a list implementation I came up with to enable true paged data fetching completely transparent to any user. It works independent of persistence layers, such as JPA implementations etc.
JDBC Result Sets
The rows that satisfy a particular query are called the result set. The number of rows returned in a result set can be zero or more. A user can access the data in a result set using a cursor one row at a time from top to bottom.
Managing Sessions with Java Servlets
An article on managing sessions. First describes what is a session?, how to identify a user across multiple pages and how to manage sessions using Java Servlets.
Java Web Start
Java Web Start, a new technology to assist the development of client-side Java applications, is unique in that it frees you from concerning yourself with how the client is launched, either from a Web browser or from the desktop. Additionally, this technology provides an encompassing deployment scheme that enables a Web server to independently distribute and update client code. Software engineer Steve Kim introduces this enterprising new technology, which is scheduled to be integrated in the final release of Java 1.4, describing its implementation from both the developer and the user perspective.
Create Human-Readable Rules with Drools JBoss Rules 5.0
This chapter focuses on rules that are easy to read and change. Starting with domain specific languages, this chapter shows how to create a data transformation specific language and focuses on decision tables as another user-friendly way of representing business rules. In this chapter, we'll look at Domain Specific Languages (DSLs), decision tables, and rule flows to create human-readable rules.
Apache Geronimo Plugins
This tutorial educates the user in creating and deploying Geronimo plugins, creating custom server assemblies, and extending Administration Console through plugins. In this tutorial, readers will learn how Apache Geronimo's plugin architecture provides the capability for users to extend the functionality of the server. Readers will see how to develop a plugin and deploy it to the server. It also looks at at the pluggable administration console, and how to create and plug in a new Administration Console portlet. This tutorial also illustrates how Apache Geronimo allows users to export custom server assemblies. (PDF file, install Acrobat Reader to view this tutorial)
 
Categories