화요일, 12월 24
Shadow

#026 javaboutique tutorials

Tutorials for everyone, from experienced programmers to the novice.

 

All About the Singleton Design Pattern
Using the Singleton pattern allows you to have a class distribute the only instance of itself. This restricts instantiation of a class to one, which can be useful when you require exactly one object to coordinate actions across an application.

Generate a PDF Report from a Database with BIRT
Business Intelligence and Reporting Tools (BIRT) is an Eclipse plug-in reporting system for Web applications. It supports data access from databases, XML documents, EJBs, Web services, JavaBeans, and POJOs. Learn the ins and outs by generating a sample PDF report from a sample database.

Parsing with StAX in JDK 6.0
Most developers parse their XML documents with the DOM or SAX APIs–one takes up too much memory, and the other uses the highly inefficient push parsing model. Find out how JDK 6.0’s pull parsing-based Streaming API for XML is the most efficient method yet.

Book Excerpt: IntelliJ in Action
This authoritative guide to IntelliJ IDEA shows you how to use this IDE’s powerful development features to their fullest advantage. This excerpt from Chapter putlines the basics with a simple “Hello World” program.

Creating Content and Protocol Handlers in Java
Did you know you can mimic the way your browser handles MIME types in your Java apps? Learn how by creating a Web client, server, and a dedicated viewer for a new image type.

Save Time with the Ultimate toString Method
Despite their performance and time-saving benefits, many developers don’t take the time to include toString methods in their code. But coding toString methods doesn’t have to be an ordeal! Find out how to make a generic toString method that can be used for any class.

Book Excerpt: AJAX Hacks
AJAX is one of the most important combinations of technologies for Web developers to know these days. This excerpt contains five AJAX hacks, dealing with request objects and XML data.

Using Rasters for Image Processing, Part 2
Rasters provide superior image control, allowing you to process entire images or only pieces of them and full pixel color control. Part II of this series explores how to create and convert rasters, as well as how to apply Java 2D filters.

Java to XML and Back Again with Castor XML
You’ve heard of JAXB, but have you heard of this open source data binding framework? Find out how to use it to transform your Java classes to XML and back to Java.

Java to XML and Back Again with Castor XML
You’ve heard of JAXB, but have you heard of this open source data binding framework? Find out how to use it to transform your Java classes to XML and back to Java.

Development Standards in Apache Struts
When you’ve got a team of developers working on an application, standardization is crucial. This article offers several pieces of advice to help improve development speed and the quality of your applications.

Book Excerpt: POJOs in Action
Learn why Plain Old Java Objects, or POJOs, are new, simpler, and faster ways to develop enterprise Java applications. This excerpt from Chapter 1 explains why.

Integrating Apache Axis with the Spring Framework
Apache Axis and the Spring Framework are becoming more and more popular as developers look for easy ways to make applications in decentralized, distributed environments exchange structured information. Find out What happens when you combine the two.

Avoid Excessive Subclassing with the Decorator Design Pattern
Ever have a fairly simple application become so complex over time that you found yourself dealing with class names like “AdminstrativeAssistantAndBloodDriveCanvasser”? Find out how proper use of the Decorator design pattern provides your apps with a more complex model without overcomplicating your coding.

Using Rasters for Image Processing, Part I
Rasters provide superior image control, allowing you to process entire images or only pieces of them and full pixel color control. Learn about the basics of rasters from a Java perspective in Part I of this series.

Run a Background Process in a Web Container Using Spring and ActiveMQ
Many developers use threads to run background apps in their Web containers. But threads don’t work in J2EE. Find out how ActiveMQ uses JMS functionality to allow you run a background app without requiring the Web client to wait for it finish.

Six Steps to Faster J2EE Apps: Performance Tuning with JSP and Servlets
Can your J2EE application sustain a large number of client requests simultaneously? Or does it become sluggish, with painfully slow response times? Learn about six simple steps you can take to enhance your app’s performance.

Use Standardization to Ensure Successful Java Application Development 
One of the most important keys to building successful applications is to start with a solid technical foundation. Learn how to build that foundation, as well as save yourself time and headaches, by standardizing basic areas in application development.

Measuring the Complexity of OO Systems
Classes in OO systems can often become too complex—either they’re too big, or one class has been embedded with way too much business logic. Learn how to use these metrics to determine whether or not you need to refactor your classes and improve your software design.

Wrap a Stateless Session EJB as a Web Service with Apache Axis
Get some hands-on Web services experience by learning how to wrap a session stateless EJB as a Web service and deploy it with Apache Axis.

Avoid the Lesser Known Pitfalls of Localizing Java Applications
Preparing a localized version of a Java desktop application is supposed to be an easy and well-documented task, but that’s not always the case. Find out about the small problems involved that typically fall under the radar of most tutorials.

Use JBoss Cache to Cache and Share Data in Your Enterprise Applications
It’s a well-known fact that caching helps improve enterprise applications’ performance, but did you know it’s useful for solving a wide range of other problems? Learn how to build sample software, run the code yourself, and think outside of the box when it comes to using caching in your own applications.

Automate Data Persistence with Firestorm/DAO
This Java code generator helps reduce your development time by automating the repetitive task of creating DAO objects and the associated helper classes required for data persistence. Find out how you can free yourself up to focus on business logic implementation.

Upload Files with Struts, Store Them with Hibernate
Every Web developer has had to implement a customer’s file upload functionality in a project at least once. This article explains all the bottlenecks involved in this task and provides functional, easy code you can use in your own projects.

Make the Correct Data Classes in Your DAO Applications
Making the correct data classes in a DAO application—or in any application—is by no means trivial. Find out how you can simplify application development and maintenance with a well considered and properly documented design.

Coupling and Cohesion: The Two Cornerstones of OO Programming
Object-oriented programming has two main objectives: to build highly cohesive classes and to maintain loose coupling between those classes. Find out how to object-oriented metrics can help you determine whether you’ve achieved these goals.

The Java Speech API: A Primer on Speech Applications
Now that speech applications need to be integrated with Web-based applications, Java has become the language of choice in which to build them. Benoy Jose explains the basics of how speech applications work and how the Java Speech API can help you build applications that inter-operate with each other and with all Java-compatible platforms.

Inversion of Control: A Mechanism for Highly Flexible Applications
Find out how using the Inversion of Control method can help you loosely couple your application’s interacting components for maximum flexiblity.

Add Logic to Your JSP Pages with the JSP Expression Language
Adding logic to JSP pages can be a real hassle. The new JSP Expression language simplifies this process by allowing you to separate HTML and style code from your presentation code, adding presentation logic.

Managing DAO Transactions in Java
The DAO design pattern can be used in Java main applications as well as servlet applications, and it can be implemented using Apache Struts. This article’s focuses some of the more advanced situations a developer faces when using DAOs, starting with transactions.

Create an XML Web Application with Struts, Xerces, and Xalan
Unfortunately, it’s not always obvious how best to use XML in a Web application—or whether you would use it at all. This article answers both questions while showing you how to build a simple, XML-oriented Web application.

Deliver Your Code with Confidence Using Test-driven Development
Test-driven development turns traditional software development processes around by promoting writing tests before writing the functional code. Find out what test-driven development is all about and how to effectively use it within a project.

Building Easy Java GUIs with Thinlet, Part 2
Swing may be ubiquitous, but it can also be far too complex for many simpler tasks. Luckily, there’s a tool called Thinlet that simplifies GUI development by defining GUIs in XML files. Part 2 of this series explores some of Thinlet’s more advanced features— like menus, dialogs, tabbed panes, and trees.

Add Rich Media Content to Your J2EE Apps with Enterprise Media Beans
Today’s users demand animated images, interactive movies, high-quality sound videos, and much more from their application experience. Thankfully, the EMB specification proposes a simple, lightweight media framework you can use to integrate rich media content into your J2EE applications.

Building Easy Java GUIs with Thinlet, Part 1
Swing may be ubiquitous, but it can also be far too complex for many simpler tasks. Luckily, there’s a tool called Thinlet that simplifies GUI development by defining GUIs in XML files. Part 1 of this series takes you through Thinlet’s features, demonstrating why this is a very interesting and useful way to build a user interface.

Streamline Your JSP Management with Enhydra
JSP pages can be difficult to manage. They contain hundreds of HTML tags and stylesheets and when business logic is added, they become near-impossible to modify. Enhydra’s application server solves this problem with an XML/DOM tree-based structure that’s easy to manipulate and simple to maintain.

Plug-in to Reusability in Java
In this article, Keld will uncover the secrets of “Plug-in Architecture,” where parameterized classes are the plug-ins. Learn how to define Interfaces for several important classes used in an application, and give the actual class names in a parameter file read by the application on start-up.

Service-oriented Architecture, Part 3
The first two parts of this series discussed the fundamental characteristics of Service-oriented architecture (SOA). You learned about the nature of SOA, its technology independence, and the concept of invokable interfaces. Concluding this series, Part 3 deals with Web services and examines how this technology fits in with Service-oriented architecture.

iText Document Generator: PDF Generation Made Easy
Finally, there’s an application server that provides PDF document-generation support. This Java-based API can be used to simultaneously generate PDF, rich text, and HTML documents.

SAMS: Java.s API For Mobile Services
This new Java API provides SMS and MMS functionality while eliminating portability hassles. Find out how SAMS helps bring mobile development one step closer to “write once, deploy anywhere.”

Plug-in to Reusability in Java
In this article Keld will uncover the secrets of “Plug-in Architecture,” where parameterized classes are the plug-ins. We’ll define Interfaces for several important classes used in an application, and then, we’ll give the actual class names in a parameter file read by the application on start-up.

Service Oriented Architecture – Part 2
Part 2 of our series focuses more on the technical aspects of Service Oriented Architecture and we begin to put together a framework for implementing Service Oriented Architecture.

Service Oriented Architecture – Part 1
In the first part of this series, Samudra lays out the ground work for SOA and shows us how to identify potential Services.

Working with JDOM, XPath and XSLT
This month Keld will give some advice on which tools to use for a given task, and then go further into one of his absolute favorites, JDOM. We’ll look at some of the more advanced features of JDOM, namely the use of XPath and XSLT with JDOM.

Metrics for Object Oriented Software Development
This month Samudra examines a couple of important object oriented metrics and shows how they can be adopted at design and development stages of a project.

Digesting XML documents
Need a simple solution for reading and parsing your favorite XML files? Well it’s time to look at Digester from Jakarta Commons which allows you to extract the parts of the XML document you need, and puts few restrictions on the way you store your data in your program.

The Mysteries of Business Object – Part 2<
In this continuing series, Samudra will develop an example application and see how we can come up with Business Objects and different strategies related to the same.

The Spring Framework
Officially the spring season might be over but spring still seems to be lingering around and Benoy is spreading the word. The Spring Framework proposes a new paradigm, a pluggable, non- intrusive and robust framework.

The Mysteries of Business Objects – Part 1
This month Samudra covers the ground work of defining Business Objects. We will compare EJB and POJO strategies for implementing Business Objects, work out the business logic implementation problems, provide guidelines for how to make Business Objects available to the client applications and more.

Program Annotation Facility
Most Java programmers who have used the Java API reference are familiar with the @deprecated within the comments of a Java method. Some vendors and programmers have cleverly made use of these comments to include information that could be used by specific custom interpreters to do some routine tasks. Finally, the annotation facility is being included into the J2SE 1.5 tiger release.

Using DAOs in Apache Struts
Data Access Object (DAO) are one of the more popular designs patterns today and this month Keld explains how you can use DAOs effectively in your Struts designs.

Using FOP with Java – Graphics in FOP – Part 3
In this article, we will examine the graphics capability of the FOP solution and see how to use images with FOP from a local file resource and also from a non-file resource.

Unweaving a Tangled Web With HTMLParser and Lucene
Unweaving a Tangled Web With HTMLParser and Lucene Ever wanted to write a Java program that crawls the web, reads HTML-pages, retrieves the links, and gets the new pages with more links? Well, this month Keld shows you how.

Using FOP with Java – Part 2
Last month, we examined FOP and how to use it in context of producing formatted output in formats such as PDF, PostScript etc. This month Samudra will examine different issues regarding printing the documents produced with FOP.

Using Program Parameters in Java
Each of us, as Java programmers will encounter situations where choices must be made between various coding solutions. Should tabular data be sorted in one way or another? What exactly is the graphical layout of your HTML pages? How often should you poll a queue? To better understand what choices to make Keld discusses the various ways you may enter parameters to your Java programs.

Configuring the SQuirrel JDBC client for use with MySQL
SQuirrel is an SQL client written in Java that can greatly ease development efforts by permitting the developer to glance at a database뭩 contents without explicitly issuing query statements, and also view the contents of tables. This article describes step by step, the process of setting-up and using SQuirrel with MySQL.

Converting XML to JavaBeans with XMLBeans
Is your company looking for a new XML-to-JavaBeans conversion tool? The newest development from BEA touts the ability to handle any XML schema. Hype or fact, you decide?

Advanced Forms Handling in Struts 1.1
Struts has a rich set of HTML-tags for building form controls. Unfortunately it’s often rather difficult to predict the exact syntax to use in a given situation. This month Keld explores some of the more common issues when using creating these forms with Struts.

Adding Spice to Struts – Part 2
This month, we explore some other ways of extending the DynaForms in Struts to model the inheritance relationship and delve into another interesting aspect of Struts by using multiple resource bundle files in a seamless manner.

A Brief Introduction to Struts ?Expression Language
Having problems utilizing Struts – Expression Language? This week we take a look at the some of the tags used in this language and see if we can add some more usability upon this fantastic framework.

The Power of Three – Eclipse, Tomcat, and Struts
This month Keld examines how Eclipse, Tomcat, and Struts can be a powerful set of tools, which can really help you get your Java projects done in a very solid development environment and the best part is they are all free.

Adding Spice to Struts
Sometimes the basic framework isn’t enough. This week we discuss using dynamic form beans in Struts and some of the problems that may have you scratching your head.

To Inherit or Compose?That is the Question
Deciding which mechanism to utilize, Inheritance or Composition, is not a right or wrong answer. There are many things to consider. This month Samudra shows us some guidelines to keep in mind when deciding.

Handling Messages, Errors and Exceptions in Struts 1.1
Before you start coding a new Struts application it’s important to decide how messages, errors and exception handling are to be implemented. This month Keld discusses the tools available in Struts

The Pitfalls of Inheritance
Inheritance is a commonly used mechanism to model the relationship between two types. This week we’ll look at some of the pro’s and con’s to this often misused mechanism.

Using Mock Objects in Java
This week Keld shows us how using mock objects in unit testing can lead to a better, more understandable, more maintainable design.

Strictly Struts
Are you past the Struts Basics? This month Samudra covers some of the more common problems with form based web application development.

J2EE Activity Service for Extended Transactions
Today뭩 businesses are getting increasingly complex and sophisticated and their demands are increasing in a proportional manner. Benoy Jose shres this month with us how the “J2EE Activity service provides a middleware framework to support the implementation of extended transaction models.

StrutsTestCase: The Tool for Struts Unit Testing Part 2
In part 2 Keld will discuss The Cactus option and touch upon a couple of important features pertaining to the mock object option.

StrutsTestCase: The Tool for Struts Unit Testing
Part of every IT-project includes testing, and Struts projects are no different. This week we’ll focus on testing if the execute method of the Action classes work properly and look at some of the tools that help us achieve our goal.

Trader Pattern for Invoking Services
The world of Java now suffers from the problem of plenty. There are so many ways that an application can be developed and deployed. We all know the decision-making factors, the pros and cons of any particular chosen method of deployment. However, the scalability aspect of an application can also be measured by how easily it can change the mode of deployment. This month Samudra will show us how a Trader pattern can help achieve flexible deployment options

Java Certification Path API
Certificate based security forms the basis for SSL (Secure socket layer) transactions? Every year billions of transactions involving trillions of dollars are done safely using the SSL protocol. This week we’ll look at the role of the Java certification path API and see how it provides a mechanism to implement certification path functionality.

Stepping through the Struts 1.1 Validator 
Jakarta Struts is becoming increasingly popular as the de-facto MVC framework for servlet applications. Currently we뭨e all waiting for version 1.1 to be finally released. But, until this happens there뭩 no reason not to use the 1.1 Release Candidate, which is considered to be very stable, and at the API level it can be assumed to be identical to the final release.

Creating an SQL-Java Gateway
This tutorial from “Murach’s Java Servlets and JSP” shows how to create an application that can be used to execute any standard SQL statement against a database that’s running on a server.

Using CASTOR for DB Access from STRUTS 
Author Harshal Deo continues to shed light on STRUTS and some of the better ways to access your databse. In this article we will look at CASTOR JDO, a data access or Object to relational mapping framework and how it improves the data access code.

Converting XML documents to Java objects with Castor XML 
If you’re working with XML documents, and your focus is more on the contents of the documents, and not so much on the XML structure, then Castor XML may be what you’re looking for. This month Keld Hansen focuses on the conversion capabilities of Casto XML.

Putting Design Principles to Test – Part 2
This month Samudra examines the package design. This simple example will help you grasp the concepts and will have you applying them in your own designs.

Cultivating your relationship with Castor-JDO
Keld continues to shed light on Castor-JDO. This month we look at how Castor, an open-source project, helps to keep our Java object model consistent.

Putting Design Principles to the Test(A Java based Case Study)
This month Samudra puts knowledge to work as we test the the design principles governing the class and package structures that have been discussed in this series.

Java Client Provisioning
Look into the future of Java Client Provisioning. The Java Community Proceess isn’t quite done with this Java framework but with the surge in demand for mobile applications with interactive services the push is on.

Mapping Java Objects to a Database with Castor-JDO
Looking to be more productive? Who isn’t? Keld introduces us to Castor-JDO, a tool that will enthrall you with its simplicity. If you have a simple data model, and are fonder of Java coding than SQL coding, then Castor can help you to be more productive.

Building a sample Web App with STRUTS Part 2
Time to get more involved with the STRUTS action class This month Harshal Deo will demonstrate database access from the STRUTS Action class.

Designing Packages for Stability
Are your designs stable? This month Samudra will focus on the change impact relationship involved in designing classes showing us how to take them into account when designing the package relationship.

Load Testing your Applications with Apache JMeter
This week Keld gives us a quick look into JMeter뭩 capabilities in the web application and web service area. This versatile open source gem is simple to use and great for performing load testing on your applications.

Package Design
Designing is probably the most important phase in the software development life cycle. In this series, Samudra will discuss the packaging of classes that are part of the system and will conclude this series with a small case study of the concepts discussed.

Java Management Extensions
Imagine a system that has pluggable modules included into it, that you could expand on as needed. Add to that the capability of integrating seamlessly with existing applications and leveraging on their power. All the ideas above and much more form the gist of what JMX or Java Management Extensions wishes to bring to the Java world.

Building a sample Web App with STRUTS
Harshal Deo is back demonstrating screen flow and action handling using STRUTS. He will use NetBeans to create the JSP aNDjava files, use tools such as auto generation of getters and setters and finally use the IDE to compile and test the application.

Digging deeper into Apache Axis
Keld Hansen takes us deeper into Apache Axis. Showing us some of the tools that make this a serious application.
The Java Game Development Tutorial
Fabian Birzele presents a very detailed introduction into the development of online games using Java. 

Working with files and directories in Java (2)
Keld Hansen builds on last months tutorial, showing us this month how to make a nice graphical view of our files and directory listings. 

Working with files and directories in Java
Java contains a lot of useful utility packages. One is java.util with its lists, maps, and calendar stuff–a lot to look into and use in your applications. Another package, java.io, contains what you need for reading and writing files and handling data streams in general.

Making the Switch to Java
Graeme Kerry’s tutorials are aimed at complete beginners to programming. Part 1 covers what you will need, a description of the main parts of the Java SDK, and walks you through, (what else), HelloWorld.java. 

Brush Up on Basics
What is the point of Java, who needs it and does it come in a bag or jar? Ben Black’s motto is once you have learned the basics, you have conquered the language. Join Ben as he begins this series on Java basics.

More JavaBoutique Tutorials

 

Building Web Applications Using Servlets and JSP – Part 2
In part 1, Harshal Deo explained how to build a simple web application with Servlets and JSP. In part 2 he discusses how to modify the Login Servlet to validate the userid and password with those from the database

.

Java Development with Ant
Java Development with Ant systematically explores what Ant can do, and how to apply it to your project. The book emphasizes basic concepts you need to know to effectively use Ant and leads you step-by-step through everything you need to know to compile, test, package and deploy an application. Chapter 4 covers Testing with JUnit. From Manning Publications Co.

Using Ant and CVS for multi-developer projects
If you have multiple developers working together on a Java project, Ant and CVS are essential tools for managing your source code and building projects. This article outlines some best practices for setting up and running Java development projects using Ant and CVS.
The Mysteries of Business Object – Part 2<
In this continuing series, Samudra will develop an example application and see how we can come up with Business Objects and different strategies related to the same.

The Mysteries of Business Objects – Part 1
This month Samudra covers the ground work of defining Business Objects. We will compare EJB and POJO strategies for implementing Business Objects, work out the business logic implementation problems, provide guidelines for how to make Business Objects available to the client applications and more.

Enterprise JavaBeans, 3rd Edition

In the new 3rd edition, Enterprise JavaBeans has been completely revised and updated with a thorough introduction to the new 2.0 version of the EJB specification. The Chapter 13 excerpt is divided into two subsections: “JMS as a Resource” and “Message-Driven Beans.” From O’Reilly & Associates, Inc.

Professional EJB
Professional EJB shows how to develop and deploy EJB applications using both the 1.1 and the new 2.0 specification. This book is for professional Java developers who wish to build secure, scalable and transactional components. From Wrox Press.
Professional Java XML Programming
“Professional Java XML Programming with Servlets and JSP” has the goal of teaching the reader about the concepts and underlying ideas of combining Java and XML. 

Working with JDOM, XPath and XSLT
This month Keld will give some advice on which tools to use for a given task, and then go further into one of his absolute favorites, JDOM. We’ll look at some of the more advanced features of JDOM, namely the use of XPath and XSLT with JDOM.

The Spring Framework
Officially the spring season might be over but spring still seems to be lingering around and Benoy is spreading the word. The Spring Framework proposes a new paradigm, a pluggable, non- intrusive and robust framework.

Program Annotation Facility
Most Java programmers who have used the Java API reference are familiar with the @deprecated within the comments of a Java method. Some vendors and programmers have cleverly made use of these comments to include information that could be used by specific custom interpreters to do some routine tasks. Finally, the annotation facility is being included into the J2SE 1.5 tiger release.

Using Program Parameters in Java
Each of us, as Java programmers will encounter situations where choices must be made between various coding solutions. Should tabular data be sorted in one way or another? What exactly is the graphical layout of your HTML pages? How often should you poll a queue? To better understand what choices to make Keld discusses the various ways you may enter parameters to your Java programs.

Converting XML to JavaBeans with XMLBeans
Is your company looking for a new XML-to-JavaBeans conversion tool? The newest development from BEA touts the ability to handle any XML schema. Hype or fact, you decide?

To Inherit or Compose?That is the Question
Deciding which mechanism to utilize, Inheritance or Composition, is not a right or wrong answer. There are many things to consider. This month Samudra shows us some guidelines to keep in mind when deciding.

The Pitfalls of Inheritance
Inheritance is a commonly used mechanism to model the relationship between two types. This week we’ll look at some of the pro’s and con’s to this often misused mechanism.

J2EE and XML Development
Geared toward experienced developers, this reference demonstrates how Java 2 Platform, Enterprise Editi on (J2EE), and XML technologies can be used together to create more robust distributed applications and softwar e systems. The use of XML technology to extend and enhance the capabilities of the J2EE platform is covered in detail.

Java and JDOM: the perfect couple 
In this article Keld Hansen shows you how to read and write an XML file, focusing on how to edit the document tree: adding, changing, or deleting the elements. If you hang on until the end of the article you’ll be rewarded with a complete web application to manage your DVD library.

Java and XML: putting SAX to work
Keld Hansen takes a look at how you, from a Java program, can read and process an XML file.

Java and XSLT
Java and XSLT introduces XSLT and then shows you how to apply transformations in real-world situations, such as developing a discussion forum, transforming documents from one form to another, and generating content for wireless devices. Chapter 5 delves into XSLT Processing with Java. From O’Reilly & Associates, Inc.

Professional Java XML Programming
“Professional Java XML Programming with Servlets and JSP” has the goal of teaching the reader about the concepts and underlying ideas of combining Java and XML.
Assertions in Java
Benoy Jose explores the concept of assertions and how they can add to the flexibility of the Java language.

Java in a Nutshell, 4th Edition
This excerpt covers a vast collection of predefined classes available to every Java program, regardless of the underlying host system on which it is running. This week we look at an overview of the Java Platform, Strings and Characters, Numbers and Math, and Dates and Times. From O’Reilly.

Looking into the JDK 1.4 Logging API
Join Keld Hansen as he goes where few men has gone before…. deep into the JDK 1.4 Logging API.

Using Chained Exceptions in JDK 1.4
The new JDK 1.4, which was released a few months ago, contains several very useful features which will help the programmer making more robust applications. In this article Keld Hansen looks at one of the features–the extension to the Throwable class which makes “exception chaining” possible.
Configuring the SQuirrel JDBC client for use with MySQL
SQuirrel is an SQL client written in Java that can greatly ease development efforts by permitting the developer to glance at a database뭩 contents without explicitly issuing query statements, and also view the contents of tables. This article describes step by step, the process of setting-up and using SQuirrel with MySQL.

J2EE Activity Service for Extended Transactions
Today뭩 businesses are getting increasingly complex and sophisticated and their demands are increasing in a proportional manner. Benoy Jose shres this month with us how the “J2EE Activity service provides a middleware framework to support the implementation of extended transaction models.

Java Message Service (JMS) for J2EE
Learn the fundamentals and basic elements of Java Message Service (JMS) programming in this excerpt of Java Message Service (JMS) for J2EE. From New Riders.

J2EE and XML Development
Geared toward experienced developers, this reference demonstrates how Java 2 Platform, Enterprise Editi on (J2EE), and XML technologies can be used together to create more robust distributed applications and softwar e systems. The use of XML technology to extend and enhance the capabilities of the J2EE platform is covered in detail. 

Professional Java Data : J2EE Messaging
Requiring a working knowledge of Java, this book is for both novice and more experienced programmers who wish to develop applications using various data access technologies provided by the Java platform. Covered in this chapter is J2EE Messaging. From Wrox Press
Beginning JSP Web Development
Learn how the web works and how JSP fits in, how to get input from the user and create web pages ‘on the fly’, how JavaBeans components and tag libraries allow you to make your code more readable and easier to maintain, and of course how the Java language itself works. From Wrox Press. 

Incorporate Logging within JSP
Introducing the Log tag library, based on the Apache log4j, logging framework. In this article, we will examine how this newly released JSP tag library helps us to achieve logging from within a JSP.

Creating an SQL-Java Gateway
This tutorial from “Murach’s Java Servlets and JSP” shows how to create an application that can be used to execute any standard SQL statement against a database that’s running on a server.

Building Web Applications Using Servlets and JSP
‘Step’ through the different components involved in developing a simple web application using ‘server s ide Java’.

JavaServer Pages, 2nd Edition
JSP is the latest Java technology for web application development and is based on the servlet technolog y introduced in the previous chapter. While servlets are great in many ways, they are generally reserved for pr ogrammers. In this chapter, we look at the problems that JSP technology solves, the anatomy of a JSP page, the relationship between servlets and JSP, and how the server processes a JSP page. From O’Reilly & Associates , Inc.

Writing Servlet Filters
Join Kief Morris as he explains the ins and outs of writing Servlet Filters.

Professional JSP Site Design: Chapter 12 – Content Management
Eye candy brings them in, but content brings them back, especially if that content is kept up-to-date and topical. This chapter steps through a case study that develops an article management system for a news site, or any site that posts articles on a regular basis.

 

Java Cookbook : Chapter 18: Web Server Java: Servlets and JSP – Part 1
The Java Cookbook is a comprehensive collection of problems, solutions, and practical examples for anyone programming in Java. Developers will find hundreds of tried-and-true Java “recipes” covering all of the major APIs as well as some APIs that aren’t as well documented in other Java books. From O’Reilly & Associates, Inc.
Using SOAP with Java – part 3
In the last of this three part series Samudra Gupta examines the concept of writing your own Serializers and Deserializers.

Using SOAP with Java – Part 2
Brush up on how to use Java and SOAP together in this three part series. In Part 2, Samudra Gupta develops a more complex Java bean based SOAP service.

Java and SOAP
Java and SOAP provides Java developers with an in-depth look at SOAP (the Simple Object Access Protocol ). The Chapter 5 excerpt looks at creating services with method parameters and return values that are arrays and Java beans. From O’Reilly & Assoc.

Using SOAP with Java – Part 1
Brush up on how to use Java and SOAP together in this three part series. In Part 1, Samudra Gupta discusses the basic anatomy of SOAP, the installation of Apache SOAP 2.2 and configuration issues with Jakarta Tomcat 3.2.1 as well as how to develop, deploy and execute a very basic SOAP application.
Using DAOs in Apache Struts
Data Access Object (DAO) are one of the more popular designs patterns today and this month Keld explains how you can use DAOs effectively in your Struts designs.

Advanced Forms Handling in Struts 1.1
Struts has a rich set of HTML-tags for building form controls. Unfortunately it’s often rather difficult to predict the exact syntax to use in a given situation. This month Keld explores some of the more common issues when using creating these forms with Struts.

Adding Spice to Struts – Part 2
This month, we explore some other ways of extending the DynaForms in Struts to model the inheritance relationship and delve into another interesting aspect of Struts by using multiple resource bundle files in a seamless manner.

The Power of Three – Eclipse, Tomcat, and Struts
This month Keld examines how Eclipse, Tomcat, and Struts can be a powerful set of tools, which can really help you get your Java projects done in a very solid development environment and the best part is they are all free.

Adding Spice to Struts
Sometimes the basic framework isn’t enough. This week we discuss using dynamic form beans in Struts and some of the problems that may have you scratching your head.

Handling Messages, Errors and Exceptions in Struts 1.1
Before you start coding a new Struts application it’s important to decide how messages, errors and exception handling are to be implemented. This month Keld discusses the tools available in Struts

Strictly Struts
Are you past the Struts Basics? This month Samudra covers some of the more common problems with form based web application development.

StrutsTestCase: The Tool for Struts Unit Testing Part 2
In part 2 Keld will discuss The Cactus option and touch upon a couple of important features pertaining to the mock object option.

StrutsTestCase: The Tool for Struts Unit Testing
Part of every IT-project includes testing, and Struts projects are no different. This week we’ll focus on testing if the execute method of the Action classes work properly and look at some of the tools that help us achieve our goal.

Stepping through the Struts 1.1 Validator 
Jakarta Struts is becoming increasingly popular as the de-facto MVC framework for servlet applications. Currently we뭨e all waiting for version 1.1 to be finally released. But, until this happens there뭩 no reason not to use the 1.1 Release Candidate, which is considered to be very stable, and at the API level it can be assumed to be identical to the final release.

Using CASTOR for DB Access from STRUTS 
Author Harshal Deo continues to shed light on STRUTS and some of the better ways to access your databse. In this article we will look at CASTOR JDO, a data access or Object to relational mapping framework and how it improves the data access code.

Building a sample Web App with STRUTS Part 2
Time to get more involved with the STRUTS action class This month Harshal Deo will demonstrate database access from the STRUTS Action class.

Building a sample Web App with STRUTS
Harshal Deo is back demonstrating screen flow and action handling using STRUTS. He will use NetBeans to create the JSP aNDjava files, use tools such as auto generation of getters and setters and finally use the IDE to compile and test the application.

Struts in Action
A prudent application scrutinizes all input, guards against all foreseeable errors, and protects users from themselves. The Chapter 12 excerpt of “Struts in Action” delves into understanding the need to validate data. From Manning Publication Co.

Struts in Action
Struts in Action is a comprehensive introduction to the Struts framework. It covers initial design, data validation, database access, dynamic page assembly, localization, product configuration, and other important areas. Our chapter 11 excerpt delves into Designing applications with dynamic includes, Using the Struts and Tiles frameworks together, Understanding Tiles Definitions and attributes, and Migrating applications to Tiles. From Manning Publication Co.

Struts meets Swing (2)
Keld Hansen shows how the servlet interface, which is normally used from a browser, can also be used from other clients, for example a Swing client.

Struts meets Swing (1)
Most Struts applications use a browser as the client, but the framework is actually open enough to allow other client types. In this first article of two, Keld Hansen takes the browser application from a previous article and connects a Swing client to — with only a few changes to the code in the original browser application.

Introducing: the Struts bean and logic Tag Libraries
Keld Hansen discusses two of the Struts tag libraries. Follow along and learn about the bean and logic libraries.

Coding your second Jakarta Struts Application
Keld Hansen takes another step up the Struts ladder. This month he shows you how to build a classic list-detail application with the well-known CRUD-actions: Create, Read, Update, and Delete.

Stepping through Jakarta Struts
Struts, from the Jakarta Project, is a development framework for Java servlet applications based upon the Model-View-Controller (MVC) design paradigm. Keld Hansen gives a quick intro to Struts, covering the necessary details to make it possible to build a simple one-page example containing an HTML form. In Part 2 Keld will refine the example to show additional features of Struts.
Java Client Provisioning
Look into the future of Java Client Provisioning. The Java Community Proceess isn’t quite done with this Java framework but with the surge in demand for mobile applications with interactive services the push is on.

Load Testing your Applications with Apache JMeter
This week Keld gives us a quick look into JMeter뭩 capabilities in the web application and web service area. This versatile open source gem is simple to use and great for performing load testing on your applications.

Digging deeper into Apache Axis
Keld Hansen takes us deeper into Apache Axis. Showing us some of the tools that make this a serious application.

Using Apache Axis version 1 to build Web Services
On the trail again, Keld Hansen pulls out his trusty toolkit, Apache Axis (version 1), and uses its SOAP to help clean up some of the murkiness surrounding web services.

Java Web Services
Java Web Services shows you how to use SOAP to perform remote method calls and message passing; how to use WSDL to describe the interface to a web service or understand the interface of someone else’s service; and how to use UDDI to advertise (publish) and look up services in each local or global registry. From O’Reilly & Associates, Inc.

Web Services with Axis
An introduction to web services for those of you who think that web services are only for computer nerds. They’re not. If you think otherwise it might be because of the many difficult-to-read articles that have tried to address the subject, often in very technical terms. Web services are nothing but two programs interchanging data on the Internet–or an intranet–in the XML-based format called SOAP.

Professional WebObjects 5.0 with Java
This book is for experienced Java software developers interested in building sophisticated, database-driven web application using WebObjects. From Wrox Press. 

Misc

Plug-in to Reusability in Java
In this article Keld will uncover the secrets of “Plug-in Architecture,” where parameterized classes are the plug-ins. We’ll define Interfaces for several important classes used in an application, and then, we’ll give the actual class names in a parameter file read by the application on start-up.

Service Oriented Architecture – Part 2
Part 2 of our series focuses more on the technical aspects of Service Oriented Architecture and we begin to put together a framework for implementing Service Oriented Architecture.

Service Oriented Architecture – Part 1
In the first part of this series, Samudra lays out the ground work for SOA and shows us how to identify potential Services.

Utility Based Development Aproach; Applying Forward Thinking to Your Programming
Programming languages have evolved from machine language to today’s high level languages such as Java, C++ etc. With the evolution of these languages, our outlook towards solving a problem has also evolved. This month Samudra clears up the mystery behind the “Utility Based Development Aproach” of development and how can help you to be a better programmer.

A Closer Look at the Java Rules Engine API (JSR 94)
The most frustrating part of a project is change and the sad reality is that change is inevitable. To help us deal with this Benoy investigates the new Java Rules Engine API, which defines guidelines to provide a common API for use in rule engines.

Metrics for Object Oriented Software Development
This month Samudra examines a couple of important object oriented metrics and shows how they can be adopted at design and development stages of a project.

Digesting XML documents
Need a simple solution for reading and parsing your favorite XML files? Well it’s time to look at Digester from Jakarta Commons which allows you to extract the parts of the XML document you need, and puts few restrictions on the way you store your data in your program.

Using FOP with Java – Graphics in FOP – Part 3
In this article, we will examine the graphics capability of the FOP solution and see how to use images with FOP from a local file resource and also from a non-file resource.

Unweaving a Tangled Web With HTMLParser and Lucene
Unweaving a Tangled Web With HTMLParser and Lucene Ever wanted to write a Java program that crawls the web, reads HTML-pages, retrieves the links, and gets the new pages with more links? Well, this month Keld shows you how.

Using FOP with Java – Part 2
Last month, we examined FOP and how to use it in context of producing formatted output in formats such as PDF, PostScript etc. This month Samudra will examine different issues regarding printing the documents produced with FOP.

Using Mock Objects in Java
This week Keld shows us how using mock objects in unit testing can lead to a better, more understandable, more maintainable design.

Trader Pattern for Invoking Services
The world of Java now suffers from the problem of plenty. There are so many ways that an application can be developed and deployed. We all know the decision-making factors, the pros and cons of any particular chosen method of deployment. However, the scalability aspect of an application can also be measured by how easily it can change the mode of deployment. This month Samudra will show us how a Trader pattern can help achieve flexible deployment options

Java Certification Path API
Certificate based security forms the basis for SSL (Secure socket layer) transactions? Every year billions of transactions involving trillions of dollars are done safely using the SSL protocol. This week we’ll look at the role of the Java certification path API and see how it provides a mechanism to implement certification path functionality.

Converting XML documents to Java objects with Castor XML 
If you’re working with XML documents, and your focus is more on the contents of the documents, and not so much on the XML structure, then Castor XML may be what you’re looking for. This month Keld Hansen focuses on the conversion capabilities of Casto XML.

Putting Design Principles to Test – Part 2
This month Samudra examines the package design. This simple example will help you grasp the concepts and will have you applying them in your own designs.

Cultivating your relationship with Castor-JDO
Keld continues to shed light on Castor-JDO. This month we look at how Castor, an open-source project, helps to keep our Java object model consistent.

Putting Design Principles to the Test(A Java based Case Study)
This month Samudra puts knowledge to work as we test the the design principles governing the class and package structures that have been discussed in this series.

Mapping Java Objects to a Database with Castor-JDO
Looking to be more productive? Who isn’t? Keld introduces us to Castor-JDO, a tool that will enthrall you with its simplicity. If you have a simple data model, and are fonder of Java coding than SQL coding, then Castor can help you to be more productive.

Package Design
Designing is probably the most important phase in the software development life cycle. In this series, Samudra will discuss the packaging of classes that are part of the system and will conclude this series with a small case study of the concepts discussed.

Java Management Extensions
Imagine a system that has pluggable modules included into it, that you could expand on as needed. Add to that the capability of integrating seamlessly with existing applications and leveraging on their power. All the ideas above and much more form the gist of what JMX or Java Management Extensions wishes to bring to the Java world.

Fine-tuning Abstraction
Samudra Gupta concludes his series on creating flexible designs through abstraction with a look at the Composite Reuse Principle and the Interface Segregation Principle.

Designing Abstraction
Last month Samudra Gupta acquainted us with Liskov뭩 Substitution Principle (LSP), and the different considerations to be made while creating sub-types in the application architecture. This month he’ll be covering design flexibility and abstraction.

Liskov’s Substitution Principle
That Java is an Object Oriented language does not necessarily mean that the code written in Java is always Object Oriented. If this statement surprises you, this series is for you. Learn about Liskov\x92s Substitution Principle (LSP), and the Design by Contract Principle.
Jython for Java Programmers
Jython for Java Programmers provides a brief introduction to show the differences between Java and Jython, but focuses on utilizing Jython with Java by covering the following: extending Python with java classes, modules, compiling, interpreters, design integration, etc. The Chapter 12 excerpt covers Server-Side Web Programming. From New Riders

Early Adopter J2SE 1.4
Due for release in quarter 4 of 2001, version 1.4 of the Java 2 Platform, Standard Edition, is set to be the biggest upgrade to the functionality of the basic Java platform since the release of Java 2 over two years ago. Early Adopter J2SE 1.4 assesses the significance of the changes to the Java 2 platform that Merlin introduces.

Professional Java E-Commerce
The term e-commerce encompasses a spectrum of trading interactions from the business-to-consumer (B2C) transactions that facilitate Web-based retail trade, to business-to-business (B2B) data exchange that increases supply chain efficiency. This book shows how the Java platform and Java technologies can be, and have been, employed to develop solutions that address these scenarios. From Wrox Press.

Java Internationalization
English-only software is already obsolete! Learn to write software that is truly multi-lingual using Unicode. From O’Reilly.

Advanced Topics in Java
Sameer Tyagi introduces and explains some important protocols and aspects of Java.
Part 1: Bi-Directional Communication in Distributed Remote Objects
Remote Method Invocation, or RMI, provides a way for a server object to remotely call into a registered client object by means of client side notification.

Part 2: Internationalization
Internationalization is the process of designing an application so that it can be adapted to different languages and regions without requiring engineering changes. And resource bundles are a quick and simple way to isolate translatable text or localizable objects from the core source code.

Part 3: UML: The Unified Modeling Language, A Quick Primer
Even a small software project is likely to be depicted in several diagrams, each capturing a different aspect of the system. Class diagrams fit into the Rational Unified Process (RUP) which uses UML as a modelling notation.

Making the Switch to Java
Graeme Kerry’s tutorials are aimed at complete beginners to programming. Part 1 covers what you will need, a description of the main parts of the Java SDK, and walks you through, (what else), HelloWorld.java. 

Brush Up on Basics
What is the point of Java, who needs it and does it come in a bag or jar? Ben Black’s motto is once you have learned the basics, you have conquered the language. Join Ben as he begins this series on Java basics. 

Murach뭩 Beginning Java 2
Learn Java by doing it! Murach뭩 Beginning Java 2 starts with installing Java on your system, and works through the essential skills that you need for designing, coding, and testing object-oriented Java programs. From Mike Murach & Associates, Inc. 

Java by Example
In this tutorial Johannes Wallroth gives a series of fairly simple examples in order to enable you to get a grasp of the possibilities and the syntax of the Java language. This tutorial requires at least a little knowledge of some programming language, so you understand the basic concepts of programming.
Section One: Java Basics
Basic Graphics Functions
Simple Methods and Basic Data Types
If, Else and Switch: Basic Control StructuresSection Two: Operators and Methods
Introducing the Operators
Methods With and Without A Return Value
Using Methods and Basic Mouse Functions

Section Three: Fonts and Graphics
Fonts, Random Numbers and Timers
Flicker Free Graphics, .GIF and .JPEG Display
Animation With Gif Pictures, Sprite Animation

Section Four: Functions and Arrays
Loops, Advanced Color Functions
Random Colors and Arrays
Digital Clocks, HTML Page Parameters

Section Five: Objects and Classes
Introducing Classes and Objects
Using the Vector Class

Section Six: Input Devices
Using Mousemove and Mousedrag
Keyboard Commands and Playing Sound
Detecting Collisions and Intersections
A Bouncing Balls Applet

Section Seven: Letters – Words – Lines – Shuffle
Fun With Letters and Words
Rotating Lines and Polygons
Sorting and Shuffling

 

Step by Step Java Tutorial
Take a step by step walk through the process of building a java applet. This learn by example method is considered the fastest way to learn by java programmer Bavo Bruylandt.
Chapter 1 – Graphical Interface
HelloWorld Example
Drawing Shapes and using Colors
Displaying Images
Using GUI components
The Layout Managers
Chapter 2 – Event Listeners
ActionListener
MouseListener
MouseMotionListener
Chapter3 – Applet Functions
Statusbar Messages
Opening Web Pages
Playing Sound Files
Using HTML Parameters
Chapter 4 – Advanced topics
Double-Buffering
Using Threads
Using third-party Libraries 

Java Programming from the Grounds Up
With Java, it’s possible to write some very sophisticated applets with a relatively small amount of code. Here’s how.
Java for Beginners
Java, that’s coffee, right? For those of you just getting started, we’ve prepared this series of tutorials to help guide you through the process of using Java on your site.
Cutting and Pasting: A Quick Primer
Although the act of cutting and pasting text is second nature to most of us, some new Internet users may not understand exactly what is meant when they see the phrase “cut and paste.” This brief primer is meant to provide a quick overview of the process for those readers.
How to Add Java Applets to Your Site
A lot of sites feature Java applets, and if you’ve been searching through the Java Boutique’s applet library, you may have found an applet you’d like to add to your own site. This guide will help you to do just that, and will point out some common problems and tips to simplify the task
Java on Your Web Site?
Java was developed to be useful, not just icing on a cake. In this article, we’re going to show you how you can use Java to enhance, rather than distract from, your Web site.
Java for the Webmaster: All Gain, No Pain
In this article we’re going to show you some examples of how applets can be used, guide you through the placement of an applet on a Web page, and discuss the pros and cons of using Java. 

 

The Java Game Development Tutorial
Fabian Birzele presents a very detailed introduction into the development of online games using Java.
Working with files and directories in Java (2)
Keld Hansen builds on last months tutorial, showing us this month how to make a nice graphical view of our files and directory listings.
Working with files and directories in Java
Java contains a lot of useful utility packages. One is java.util with its lists, maps, and calendar stuff–a lot to look into and use in your applications. Another package, java.io, contains what you need for reading and writing files and handling data streams in general.
Professional Java Server Programming J2EE Edition Chapter 12
From the point of view of the JSP developer, the only significant new feature of JSP 1.1 is support for tag extensions(often referred to as custom tags). However, this proves to be very significant indeed. Check it out in this excerpt from Wrox Press’ Professional Java Server Programming.
Using your own exception classes in Java
Keld Hansen offers a simple, systematic approach which will help Java developers implement some solid error handling in their code. The building blocks are Java’s Exception-classes.
Java RMI
Java RMI contains a wealth of experience in designing and implementing Java’s Remote Method Invocation. Learn tips and tricks for making your RMI code excel, strategies for working with serialization, threading, the RMI registry, and more! From O’Reilly & Associates, Inc.
Beginning Java Networking
Unlike other programming languages, Java had support for network programming built into it right from the start. Java, therefore, allows you to develop powerful network applications with exceptional ease. This book introduces you to the world of Java network programming and takes you far inside it. From Wrox Press.
Initializing an HTML-form using JSP and JavaScript
Keld Hansen presents a safe, yet robust, technique for initializing the controls in a form using JavaScript functions that are executed when the HTML-page is loaded. The method requires minimal JSP coding, leaving the HTML-section almost free of JSP-constructs.
Beginning Java 2- JDK 1.3 Version Images and Animation
Learn how to create an animated applet, measure time intervals, and make a dropped image bounce in this excerpt from “Beginning Java 2” from Wrox Press.
Unit Testing Java Programs
Testing programs can be very boring. Especially testing other people’s programs. And especially if you’re a programmer. But programmers love to write programs, so why not let the programmers write some programs that’ll do the testing for them?
3D User Interfaces with Java 3D
A practical guide for providing next-generation applications with 3D user interfaces for manipulation of in-scene objects. “A roadmap from Java 3D to ‘Swing 3D’.” From Manning Publications.
A very simple JSP-architecture Part 2
Join Keld Hansen as he adds a couple of new functions to last months “customer-lookup” application. Discussed briefly is the “portability of JSP-pages” and a few tips on how to ease debugging JSP-pages.
A very simple JSP-architecture
Keld Hansen presents a simple JSP-architecture, along with a handful of useful techniques, for the quick creation of web-applications – without loss of quality.
Beginning Java Databases
Learn how to use two powerful technologies to build successful Java database applications. Find out how relational databases work and how you can use them in your Java programs, through the JDBC interface.
Professional Java Security : Symmetric Encryption
Computer security covers a multitude of areas ranging from low-level operating system security to higher-level application security. Professional Java Security concentrates on the latter, and will show you how to protect your applications with cryptography and the Java security model. From Wrox Press.
Professional Java Programming
Professional Java Programming provides a comprehensive guide for those with a small amount of Java experience, as well as helping the experienced reader utilize more advanced techniques. This weeks installment covers Layout Managers and GUI Construction. From Wrox Press. 

Poor Man’s Graphics
Avoid the use of an applet and keep things as simple as possible. Learn how to use a JavaBean to create a professional looking bar chart that retains all of the benefits of HTML, such as style sheets, links, mouseover effects, etc.
Java2D: An Introduction and Tutorial
This tutorial presents a quick introduction to the basics of Java2D and the use of the Graphics2D class in Java 1.2.
Java Programmer’s Reference
This book is a quick reference to the parts of the Java language and libraries you’ll need 90% of the time – the language has grown so large it is not possible to cover the entire class library in one book. Instead, this book covers the commonly-used packages: the Java language, utility, I/O, and network programming classes, together which those for GUI development using the Abstract Windowing Toolkit and Swing, applets, event handling, and Java Beans.
Learning Java Chapter 14: Using Swing Components
Learn about buttons and labels, checkboxes and Radio Buttons, and lists and combo boxes in this excerpt of “Learning Java” from O’Reilly.
Beginning Java Objects Chapters 2 and 3
This book is for anyone who wants to learn not only the Java 2 language, but also how to structure a problem properly from an object-oriented perspective.
Open Source Shopping Cart
Directives for Browser-based Memory and Multiple Merchants on One Cart With a Dumb Server and No Cookies.
Introduction to Java
Selena Sol takes you through every step of learning Java. This tutorial is for everyone who wants to learn Java.Part 10: Components
Most modern interfaces are built around the concept of “components” which are reusable widgets that perform some user-interface function, such as Buttons, Scroll Bars, Menu Bars, etc.

Part 9: Using the AWT To Build User Interfaces
Now we need to go from a simple application to a more serious one. To do so, we will take advantage of the AWT class package that is distributed with the JDK.

Part 8: Constructing .Zip, .Cab, and .Jar Files
All you need to know about putting together these applet archive files.

Part 7: Distributing Applets
Once you have finalized your applet code, the final stage in the development process will be to determine how to make your program available to browsers on the web.

Part 6: Building Your First Application
Selena goes through all the Java code and HTML necessary to create a java application.

Part 5: Java Classes
Now that we understand the most basic Java syntax it is time to learn how object-oriented design is implemented in Java.

Part 4: Data Types and Variables
Selena covers all the elements you’ll use in your programs, including variables, operators, and arrays.

Part 3: Installing the Java Development Kit
The first step in programming Java is getting the tools you’ll need.

Part 2: Introduction to Object-Oriented Design
Here, we describe the merits of procedural- versus object-oriented programming.

Part 1: Introduction to Java
A brief history of the Java language and a summary of the 12 design principles.

 

 


Applet Index
(sorted alphabetically)

A B C D E F G H I J K
L M N O P Q R S T U
V W X Y Z #s
The Java Source
(applets w/source code)

A B C D E F G H I J K
L M N O P Q R S T U
V W X Y Z

 

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler 
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it’s free!

New Applet:

Reverse Complement 
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer’s Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.

 

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.