Java San Antonio TX

Developer.com offers daily news, articles, and tutorials for professional involved in the development of applications and other technical solutions. Daily coverage includes articles, tutorials, news and other resources related to all facets of development.

Newest Articles

Java vs. JavaScript: So... what is the difference between Java and JavaScript anyway? San Antonio TX

Java is an Object Oriented Programming (OOP) language created by James Gosling of Sun Microsystems. JavaScript was created by the fine people at Netscape. JavaScript is a distant cousin of Java.

So, You Want A Java Clock, Huh? San Antonio TX

Beyond HTML Tutorials

Test Your Java Knowledge: Using Operators and Making Assignments, Part 6 San Antonio TX

What do you get when you use the == operator to compare references to literal String objects that contain the same value? Show off your smarts or learn a thing or two in our quiz series.

Swing from A to Z: Analyzing Swing Components, Part 1, Concepts San Antonio TX

Baldwin introduces a very useful program that displays information about any Java component, including inheritance, interfaces, properties, events, and methods. You can expand the program to provide even more information if you wish to do so.

An Overview of Cryptography in Java, Part 1: Random Numbers and Cryptographic Security Providers San Antonio TX

We take a birds-eye view of the Java Cryptography Architecture, both within the Java Development Kit and the Java Cryptology Extension.

All Articles

3D Displays, Color Distance, and Edge Detection San Antonio TX

Learn about color distance, projecting 3D coordinates onto a 2D display plane, and edge detection. Understanding these concepts will help you to better understand modern image processing.

A Java Card Primer, Part 1 San Antonio TX

The author explains the nuts and bolts of Java Card technology. When you're finished reading this two-part tutorial, you should be ready to program a smart-card application.

A Java Card Primer, Part 2 San Antonio TX

We wrap up our tutorial on working with Java Card technology to program smart cards by taking you step by step through the process of getting an applet to run on a card simulator. Follow the instructions to create your first smart wallet app.

A Peek at EJB 2, Part 2 San Antonio TX

We continue our look at the upgraded Enterprise JavaBeans spec with details on its support of entity bean persistence and management of relationships among entity beans.

A Peek at EJB 2, Part 3 San Antonio TX

We conclude this series with a look at the new Enterprise JavaBeans spec's provisions for a query language for entity beans, support for additional methods in the home interface, and network interoperability among servers.

A Peek at EJB 2.0, Part 1 San Antonio TX

A major upgrade to the Enterprise JavaBeans spec is at hand, so it's time to take a look at what's in store for Java developers.

A Simple Java Drawing Tool San Antonio TX

The author has concocted an implement using AWT components for drawing basic geometric shapes on its panel using a mouse. Here's how to put it to work.

Access COM Via Java - A Tutorial San Antonio TX

The author builds an application that can access a COM object created using VC++6.0 ATL and then call this COM-server object via a pure Java client.

Adding Animated Movement to Java Applications San Antonio TX

Learn how to add animated movement into your program where multiple objects chase a lead object as it moves randomly in a given environment.

An Overview of Cryptography in Java, Part 1: Random Numbers and Cryptographic Security Providers San Antonio TX

We take a birds-eye view of the Java Cryptography Architecture, both within the Java Development Kit and the Java Cryptology Extension.

An Overview of Cryptography in Java, Part 2: Provider History San Antonio TX

The idea behind the cryptography extension is to remove the programmer from the math and complexity involved in algorithms, and instead utilize provider classes that take care of the implementation. Gutschmidt continues his cryptography overview in this second installment.

An Overview of Cryptography in Java, Part 3: Writing Your Own Provider San Antonio TX

We continue our series on Java cryptography with a look at setting up a provider of security services.

An Overview of Cryptography in Java, Part 4: Permissions, Documentation, and Export Issues San Antonio TX

With the new JCE 1.2.1, customizing securitymanager may be necessary in order to properly implement your provider. Sun also asks that providers carefully document services for users, and although JCE 1.2.1 hallmarks availability of these cryptography tools outside of the United States, implementing them in this way adds a layer of complexity.

An Overview of JXTA Architecture San Antonio TX

We focus on the architecture and technologies that make up JXTA, a new open-source computing architecture for peer-to-peer apps from scientists at Sun.

Application Logs and the Logger Class San Antonio TX

In his "Class of the Month" column, Mohseni examines the benefits of the core logging facilities contained in the java.util.logging package, which can be very helpful in maintenance and troubleshooting, as well as cross-platform compatibility.

Are There Limits to Software Estimation? San Antonio TX

Our "Perspectives on Software Engineering" columnist tackles the subject of accurately estimating software development time - joining a complex computer science debate.

Automating XML/Java mapping with Jato San Antonio TX

Jato is an open-source effort focusing on XML/Java conversion which allows the developer to focus strictly on the mapping without paying too much attention to implementation.

Axis2 Information Model San Antonio TX

This article provides you a clear understanding of Axis2's static data hierarchy, how it's configured, and how to work with it.

Book Review: A Starting Point for Wireless Java San Antonio TX

Java development for mobile devices is relatively new, so a book on wireless Java has to keep pace with a shifting landscape. Does Java 2 Micro Edition manage the trick?

Breaking the Sandbox Barrier, Part 1 San Antonio TX

It is sometimes necessary for client applications to use the features that are restricted by the sandbox model, like reading from a file system or writing to a file. In Internet Explorer, this can be accomplished by signing the applet with a digital certificate and authenticating it after downloading. Here's a refresher course.

Breaking the Sandbox Barrier, Part 2 San Antonio TX

We conclude our brief intro to using digital certificates in Java to let applets access system resources by reviewing the specific procedures used with the Netscape browser.

Building with Ant: Deployment and Distribution San Antonio TX

We wrap up our lessons on working with this open-source development tool from the Jakarta Project by looking at some advanced issues - multiple deployment targets, versioning, and source distribution.

Building with Ant: Directory Structure San Antonio TX

In Part 2 of our series, Chaffee discusses the importance of a clean and orderly project directory structure - and provides tips on creating a solid foundation for structures that can scale to large teams using version control and multiple releases.

Building with Ant: Introduction San Antonio TX

Developing Web applications using Java Servlets, JavaServer Pages, and other J2EE technologies is fun! See how to avoid many of the common growing pains of application development by using simple tools, like Ant and JUnit, and a simple directory structure.

Class of the Month: Control Event Executions with the New Timer Class San Antonio TX

We begin a new column on useful Java classes by looking at Timer and TimerTask, which facilitate execution of code at a predetermined time or during specified time intervals.

Class of the Month: GregorianCalendar San Antonio TX

Subclasses of Calendar interpret a date according to the rules of a specific calendar system. One such subclass is java.util.GregorianCalendar. You can use the methods and properties of GregorianCalendar for many of your date and time calculations and comparisons.

Class of the Month: JDK 1.4 Supports Regular Expressions San Antonio TX

Regular expressions are a useful programming tool. The fact that Java now natively supports them simplifies many programming tasks that used to require cumbersome code.

Class of the Month: JSP Tag Libraries and the TagSupport Class San Antonio TX

JSP Tag libraries provide a convenient framework for developing Web applications. They allow you to wrap custom functionality inside XML-like tags.

Class of the Month: Making HTTP Connections San Antonio TX

There are times when the resource your Java application needs is available from a Web site. You can see it by pointing your browser to its URL. You just need to have your application access it. The java.net.HttpURLConnection class will help you do just that.

Class of the Month: The Reflection API San Antonio TX

A number of popular Java technologies and frameworks depend on the Reflection API to function. Learn more about its many uses.

Code Work with Java Annotations San Antonio TX

This article tells you how to use Java annotations to take the grunt work out of coding. Annotations are a familiar sight to any Java developer who has ever read the Java API docs.

Connecting to IBM FileNet 4.0 San Antonio TX

This article talks about IBM FileNet 4.0 and how to use its Java API to connect to an enterprise content and business process management product.

Continuous Integration Tools San Antonio TX

Discover the practice of continuous integration and several of the most popular tools, including Apache's Continuum, Cruise Control (CC), and Hudson, which effectively implement this concept.

Data Persistence and Java Data Objects - JDO San Antonio TX

Learn about Java Data Objects (JDO) and how they make enterprise-level Web database development easier.

Data Structures in Java: Part 1, Getting Started San Antonio TX

Baldwin introduces you to the Java Collections Framework. Once you learn how to use the framework, it is unlikely that you will need to reinvent common data structures, search algorithms, or sorting algorithms again, because those capabilities are neatly packaged within the framework.

Data Structures in Java: Part 10, The Comparator Interface, Part 2 San Antonio TX

Baldwin shows you how to use a Comparator object to achieve a natural ordering on a set of names added to a TreeSet collection while ignoring the case used to write the names.

Data Structures in Java: Part 11, The Comparator Interface, Part 3 San Antonio TX

Baldwin shows you how to use a Comparator to cause a TreeSet collection to be sorted in descending order while preserving the impact of differences in case.

Data Structures in Java: Part 12, The Comparator Interface, Part 4 San Antonio TX

Baldwin shows you how to extract the contents of a collection into an array, and how to use a Comparator object to sort the contents of the array into reverse natural order. He also shows you how to sort the contents of the array into natural order without the use of a Comparator object.

Data Structures in Java: Part 13, The Comparator Interface, Part 5 San Antonio TX

Baldwin shows you how to use the sort method of the Collections class along with a Comparator object to sort the contents of a List into reverse natural order.

Data Structures in Java: Part 14, The Comparator Interface, Part 6 San Antonio TX

Baldwin shows you how to use a Comparator created by the reverseOrder method of the Collections class to sort a list into reverse natural order. He also shows you how to use the reverse method of the Collections class to reverse the order of the elements in a list.

Data Structures in Java: Part 15, The toArray Method, Part 1 San Antonio TX

Baldwin shows you how to use the simpler version of the overloaded toArray method that is declared in the Collection interface. He also explains why you need to exercise care when using the elements stored in the resulting array to avoid corrupting the state of the objects referred to by the elements in the collection.

Data Structures in Java: Part 16, The toArray Method, Part 2 San Antonio TX

Baldwin shows you how to use the more-complex version of the toArray method declared in the Collection interface. He discusses issues regarding the type of the array and the types of the objects referred to by the elements in the collection. He also discusses issues regarding the relative sizes of the array and the collection, among other things.

Data Structures in Java: Part 2, What Is a Collection? San Antonio TX

Baldwin explains some of the details surrounding the use of a Java collection for creating data structures. He also discusses the interfaces and the concrete implementations in the Java Collections Framework.

Data Structures in Java: Part 3, Purpose of Framework Interfaces San Antonio TX

This is the third lesson in a miniseries designed to help you learn the essential features of object-oriented data structures in Java using the Collections Framework.

Data Structures in Java: Part 4, Purpose of Implementations and Algorithms San Antonio TX

Baldwin explains that the core collection interfaces in the Java Collections Framework allow collections to be manipulated without regard for how they are implemented.

Data Structures in Java: Part 5, The Core Collection Interfaces San Antonio TX

The Java Collections Framework defines six core interfaces, in two distinct trees. Learn the inheritance structure and the purpose of those interfaces. Learn how the interfaces declare polymorphic methods that apply to implementations of the interfaces and learn about the optional methods of the Collection interface.

Data Structures in Java: Part 6, Duplicate Elements, Ordered Collections, and More San Antonio TX

A Set object cannot contain duplicate elements, but a List object can contain duplicate elements. Ordered collections are not the same as sorted collections. Specialized stipulations are placed on interfaces as you progress down the interface inheritance hierarchy of the Java Collections Framework.

Data Structures in Java: Part 7, The Comparable Interface, Part 1 San Antonio TX

Baldwin explains the (lack of) interaction between the Comparable interface and the Java Collections Framework with respect to collections of type List.

Data Structures in Java: Part 8, The Comparable Interface, Part 2 San Antonio TX

Baldwin shows you why the elements stored in a TreeSet collection need to be references to objects instantiated from a class that implements the Comparable interface, and briefly discusses an alternative approach using the Comparator interface.

Data Structures in Java: Part 9, The Comparator Interface, Part 1 San Antonio TX

Baldwin discusses and illustrates the use of the Comparator interface. The sorting order established by a Comparator may be different or may be the same as the natural order. A Comparator can be used to establish a sorting order for objects that don't have a natural ordering. The use of a Comparator is an alternative to the implementation of the Comparable interface.

Diary of a Developer: To Script or Not to Script San Antonio TX

The enduring question for those first learning the ropes of software development on the Web is: What's the best technology to learn?

Disaster Recovery Through Project Management San Antonio TX

When disaster strikes, don't leave home without project management. Explore seven project management rules to help you when you find yourself looking for a magic wand to turn disaster into recovery.

Don't Be a Slave of the File System San Antonio TX

Fed up with Java FileInputStream and the blocking read() method? Then perhaps it is time to do something about it and avoid the dreaded wait for a blocking read.

Eclipse PMD Plug-In San Antonio TX

The Eclipse PMD plug-in finds code that isn't up to the standards you define, improving the code's consistency and preventing the avoidable production bugs.

Editorial: Pundit right? Java to die? San Antonio TX

A well-known columnist writes that C# will be the death of Java and that those responsible will be the people at Sun Microsystems, Java's parents. Do his claims stand up to scrutiny?

Enterprise Deployment Environment with Java Spring San Antonio TX

Explore an elegant way to streamline the build and configuration processes for enterprise Java projects that can also save you a lot of time.

Enterprise JavaBeans: Helper Classes San Antonio TX

Baldwin presents a sample enterprise bean program that you can use to hone your skills in the deployment of EJBs into the J2EE server. This bean makes use of helper classes, requiring you to take that into account in the deployment process.

Enterprise JavaBeans: Middle-Tier Servers and J2EE San Antonio TX

Baldwin discusses the use of J2EE as a middle-tier server in a multi-tier environment. He explains some of the benefits of the multi-tier environment in general, and the use of J2EE in particular. He discusses the general concept of a container, describes the services provided by the EJB container, and discusses how the EJB container fits into the grand scheme of things in J2EE.

Euro-Beat: The Developer's Case for Opera San Antonio TX

Our international correspondent finds that the alternative browser maker has a focus on accessibility that keeps it attuned to the future of the Internet, especially on a new generation of devices. Here's their advice for developers.

Evolving Success Factors for Application Servers San Antonio TX

As the J2EE specification grows, along with Web services, the need for a services oriented approach to application servers and applications is necessary to keep vendors and enterprise development groups responsive and iterative in their deployment.

Exceptions: The Missing Link Arrives for Java San Antonio TX

In Version 1.4 of the Java 2 SDK, the Exception framework provides you with the missing link between lower layer and higher layer exceptions. We look at the implications for the conscientious developer.

eXtreme Programming eXperienced (Part 1) San Antonio TX

This article describes the experiences of one development team that has successfully adopted many of the eXtreme Programming (XP) principles and values in their development methodologies.

eXtreme Programming eXperienced (Part 2) San Antonio TX

We conclude our case study illustrating how a small U.K. software firm used component-based architectures supporting the XP model to rapidly execute a project.

File System Management San Antonio TX

Fed up with Java FileInputStream and the blocking read method? Then perhaps it is time to do something about it and avoid the dreaded wait for a blocking read.

Financial Modeling and Bollinger Bands San Antonio TX

The author treats the complex field of software modeling in Java by focusing on a method used for stock price analysis - with implications pertinent to other statistics applications.

Follow Up to "Most Software Stinks!" San Antonio TX

Is software development simply more difficult than other kinds of engineering? Are clarifying comments essential to the very nature of well-designed software? Connell responds to readers who have debated these points.

Formatting Messages in Java to Communicate with Legacy Systems, Part 1 San Antonio TX

A lot of new applications are being written today in Java. Companies also have a vested interest in maintaining their legacy systems. So there is a need for Java applications to communicate with legacy systems through messages that those systems can interpret properly.

Formatting Messages in Java to Communicate with Legacy Systems, Part 2 San Antonio TX

We conclude this tutorial with with more on the BuildMsg.processRequest() and BuildMsg.getMsg() methods, and generating an EBCDIC byte stream using "cp500" encoding.

Fun with Java: Animated Sea Worms San Antonio TX

Baldwin wraps up his series of lessons on animation. He has shown you how to use Java to write programs that produce smooth animation of the sprite animation and frame animation varieties. It's time for you to take that knowledge and do something fun with it. And don't forget, Java programming can be fun.

Fun with Java: Sprite Animation, Part 1 San Antonio TX

Programming in Java doesn't have to be dull and boring. In fact, it's possible to have a lot of fun while programming in Java. This is the first lesson in a miniseries that will concentrate on having fun while programming in Java.

Fun with Java: Sprite Animation, Part 2 San Antonio TX

Baldwin shows you how to instantiate and use a MediaTracker object to track the loading status of Image objects. He shows you how to use the getImage method of the Toolkit class to create Image objects from GIF files, how to register those Image objects on a MediaTracker object, and how to use the waitForID method of the MediaTracker object to force the program to block and wait until the images in a group are successfully loaded, or until a loading error occurs.

Fun with Java: Sprite Animation, Part 4 San Antonio TX

Baldwin explains the behavior of the run method of the animation thread as well as the makeSprite method of the controlling class. He provides a preview of the SpriteManager class and the Sprite class. He discusses the repaint, update, and paint methods of the Component class, and discusses the timer loop used in this program.  He also suggests an alternative approach that makes use of a Timer object to fire Action events. Finally, he recaps the previous three lessons in the series.

Fun with Java: Sprite Animation, Part 5 San Antonio TX

Baldwin shows you how to override the update method of the Component class to improve the animation quality of the program over what would normally be achieved using the default version of the update method. In the process, he shows you how to eliminate the flashing that often accompanies efforts to use the default version of the update method for animation purposes. He also shows you how to get and use an offscreen drawing context to accomplish double buffering in the drawing process.

Fun with Java: Sprite Animation, Part 6 San Antonio TX

In his continuing series on sprite animation, Baldwin explains the behavior of each of the methods of his SpriteManager class. This includes the following features: finding an empty location for each new sprite, updating sprite positions, drawing the new scene during each animation cycle, and managing collisions between sprites.

Fun with Java: Sprite Animation, Part 7 San Antonio TX

Baldwin completes his sprite-animation program. Along the way, he explains the methods of the Sprite class, including the following features: establishing the initial position of the sprite, determining the location of the sprite, determining the speed and direction of the sprite, updating the sprite's position, implementing some randomness in the sprite's motion, bouncing off the walls, drawing the sprite, and detecting collisions with other sprites.

Genetic Algorithms: Simulating Evolution on the Computer, Part 1 San Antonio TX

You can create genetic algorithms in Java that enable you to handle such diverse tasks as optimizing networks, maximizing mathematical functions, designing proteins in the pursuit of new drugs, and so on. Here, we look at an evolution simulation application as a core example.

Genetic Algorithms: Simulating Evolution on the Computer, Part 2 San Antonio TX

We continue with our discussion of using Java to create genetic algorithms that enable you to handle such diverse tasks as optimizing networks, maximizing mathematical functions, designing proteins in the pursuit of new drugs, and so on. Here, we look at more sophisticated algorithmic problems.

Getting Creative with Images Using Java: A Simple Puzzle San Antonio TX

This tutorial focuses on how to make use of some basic JDK classes and image-manipulation techniques to create an image puzzle game. It's intended to give you a taste of how fun programming can be and a starting point leading to more serious applications.

Hypewatch: Pre-built JSP Tag Libraries San Antonio TX

Collections of tags for Java Server Pages can help make life easier for your Web production team if used properly. There are growing numbers of these libraries for both commercial and non-commercial use. Some are even coming under the open source banner.

Hypewatch: SVG Love San Antonio TX

Combining Scalable Vector Graphics with Java leads to a multimedia technology that has the potential to rival Flash. Here's the lowdown on where the hype meets reality.

Hypewatch: WebStart for Java San Antonio TX

If you want to run the latest Java apps, you need the latest JVM, which requires a tool called WebStart. This can be a problem, though, as users need to install and deploy a large download.

Hypewatch: Where Developers Fit In San Antonio TX

Our columnist finds perspective in understanding how software development has become an integral part of essential services in the modern world.

Is the Anti-Hype Hyper-Critical? San Antonio TX

Columnist Fox tackles the ever-mounting irrational gloom affecting the industry from a Java developer's viewpoint.

Java Advanced Placement Study Guide: Relational Operators, Increment Operator, and Control Structures San Antonio TX

Sample question: What is the scope of a variable that is declared in the first clause of a 'for' loop?

Java Advanced Placement Study Guide: Assignment and Arithmetic Operators San Antonio TX

Sample question: What is the result of evaluating this expression: 15.5 % 1.55?

Java Advanced Placement Study Guide: Escape Character Sequences and Arrays San Antonio TX

Sample question: What happens if you attempt to access a Java array element outside of the array boundaries?

Java Advanced Placement Study Guide: Introduction to the Lessons, Primitive Types San Antonio TX

Sample question: What do you get when you divide 1.0 by 3 in Java?

Java Advanced Placement Study Guide: Logical Operations, Numeric Cast, String Concatenation, and the toString() Method San Antonio TX

Sample question: What is the algorithm for rounding floating values to the nearest integer?

Java Advanced Placement Study Guide: Method Overloading San Antonio TX

Sample question: Is it necessary to define all versions of an overloaded method in the same class?

Java Advanced Placement Study Guide: More on Arrays San Antonio TX

Sample question: Is it possible to create an array object in Java whose length property value is zero? If so, list some circumstance where that may commonly occur.

Java and Chemistry: A Simple Chemical Calculator San Antonio TX

These applications and classes are for chemists, biologists, and other science professionals who need to assess a molecular weight from a chemical formula, a basic operation in experimental chemistry.

Java Cryptography Extensions San Antonio TX

This article talks about how to check message integrity with message authentication and the Java Cryptography Extension.

Java Discussion: "Null values assistance sought" San Antonio TX

We reach into our Discussions mailbag for a thread that may be of interest. Feel free to participate. Ask a question or offer some advice. Join your fellow Java developers in the Gamelan discussion forum. Registration is simple and free.

Java Discussion: "Programming assistance?" San Antonio TX

We reach into our Discussions mailbag for a thread that may be of interest. Feel free to participate. Ask a question or offer some advice. Join your fellow Java developers in the Gamelan discussion forum. Registration is simple and free.

Java in Science: Data Inter- and Extrapolation Using Numerical Methods of Polynomial Fittings, Part 2 San Antonio TX

We continue an investigation into the advanced scientific and engineering uses of Java by looking at a technique that underlies much of modern modeling and simulation. In this part, we examine concepts in linear algebra.

Java in Science: Data Inter- and Extrapolation Using Numerical Methods of Polynomial Fittings, Part 3 San Antonio TX

In Part 3 of our series on some of the advanced scientific and engineering uses of Java, we look at the code for Polynomial Fittings.

Java in Science: Data Inter- and Extrapolation Using Numerical Methods of Polynomial Fittings, Part 4 San Antonio TX

We conclude our multi-part paper on using Java in an advanced scientific and engineering setting by pulling the previous lessons together and using the polynomial fittings application.

Java in Science: Data Interpolation and Extrapolation Using Numerical Methods of Polynomial Fittings, Part 1 San Antonio TX

We begin another investigation into the advanced scientific and engineering uses of Java by looking at a technique that underlies much of modern modeling and simulation.

Java Tools San Antonio TX

The votes are in and the winners have been selected. See what products and technology our readers have chosen to be the best in their respective category.

Java vs. JavaScript: So... what is the difference between Java and JavaScript anyway? San Antonio TX

Java is an Object Oriented Programming (OOP) language created by James Gosling of Sun Microsystems. JavaScript was created by the fine people at Netscape. JavaScript is a distant cousin of Java.

JBoss Application Server San Antonio TX

Learn how to secure a web service using WS-Security. WS-Security is a specification from OASIS (Organization for the Advancement of Structured Information Standards) that describes enhancements to SOAP messaging to provide message integrity and confidentiality.

JBoss: A Model for Future Software Companies San Antonio TX

An open-source application server that can host business components developed in Java is raising a fuss in the J2EE world, because it doesn't conform to the standard corporate business model. Why are people afraid of it?

Maintaining Transparency for Image Transformations San Antonio TX

The author shares with us knowledge of how to overcome the image transparency issue in the Java implementations of current browsers, enabling you to blend colors to obtain transparency or opacity in composing multiple images into one.

Manage Your Application Settings via the Preferences API San Antonio TX

In our "Class of the Month" column, Mohseni examines the Preferences API in JDK 1.4, which provides a framework for managing, reading, and writing application configuration and preference information.

Misusing Dynamic Binding When Static Binding Would Do, Part 2 San Antonio TX

The author concludes by furthering the case for using statically bound alternatives in lieu of the dynamically bound solutions of Web application environments such as Java Server Pages. He illustrates his argument by contrasting JSP with an alternative environment of his own design.

Multimedia Class Library San Antonio TX

This article is about how the world class and the Turtle class of the multimedia library implement a practical version of the Model-View-Control programming paradigm. Investigate the differences between placing a turtle in a world and placing a turtle in a picture.

Multimedia Programming with Java San Antonio TX

This article gives you information about the behavior of the Turtle class, its superclass named SimpleTurtle, and what they can do for you.

Pixel Editing with Java San Antonio TX

This article examines a new program written entirely in Java that you can use to edit the pixels in your digital photos on a pixel-by-pixel basis.

Program for Digital Photos San Antonio TX

Learn how to write a Java program to apply a blurring or softening filter to your digital photos. The amount of softening is controlled by the user with a slider.

Programming with Java San Antonio TX

This article talks about the methods and the properties of a Turtle object from Ericson's Java multimedia library. If you have ever wondered how to write Java programs, you've come to the right place.

Reading Excel Files with Apache POI HSSF San Antonio TX

This article tells you how to create a pure Java class for reading Microsoft Excel with the help of the Apache POI projects' HSSF libraries.

Scientific Computing in Java (Part 2): Writing Scientific Programs in Java San Antonio TX

We examine the structure of a scientific program more closely. We'll define a few scientific OOP design patterns in Java, and we'll give you a short style guide.

Securing Java Code: Part 1 San Antonio TX

People have the notion that security holes are created by criminals and hackers to compromise systems. This is untrue. In almost all cases the holes exist and are just exploited.

Securing Java Code: Part 2 San Antonio TX

In this installment in our series, we further examine the elements that should be part of a secure Java code policy, including such safeguards as compartmentilization and cryptography.

Securing Java Code: Part 3 San Antonio TX

Developers need to assume that eventually their source code will be decompiled and scrutinized. There are, however, ways to sanitize source code after a program runs, and steps to make it expensive, time consuming, and extremely difficult to unravel.

Securing Java Code: Part 4, Decompilers San Antonio TX

Reasonable security begins with a reasonable security policy and continues by focusing on some of Java's weak links, namely memory management and decompilation.

Server-Side Development on Mac OS X: Launching Tomcat San Antonio TX

Last time, we installed Tomcat 4 on Mac OS X. This time, we'll look at how to set it up to launch automatically, and how to run it more securely, as an unprivileged user.

Server-Side Development on Mac OS X: Servlets and Tomcat San Antonio TX

The Mac is rarely considered as a platform for enterprise Java application development and deployment; but with OS X, you can throw out your preconceived notions and get down to business on the server-side.

Simple TreeModel Example: Infinite Binary Tree San Antonio TX

This article illustrates the concept of TreeModel with a very simple Java example representing an infinite binary tree.

SJCP Exam Preparation: Language Fundamentals, Part 1 San Antonio TX

This series will prepare you for the Sun Java certification exam. To begin, your instructor introduces you to the fundamentals of the Java language.

SJCP Exam Preparation: Language Fundamentals, Part Two San Antonio TX

This series will prepare you for the Sun Java certification exam. To begin, your instructor introduces you to the fundamentals of the Java language.

SJCP Exam Preparation: Top-level and Inner Classes San Antonio TX

We introduce a new ongoing series designed to prepare you for the Sun Java certification exam. To begin, your instructor introduces you to the nuances of hierarchical classes in the Java language.

So, You Want A Java Clock, Huh? San Antonio TX

Beyond HTML Tutorials

Some Insight Into Inner Classes in Java, Part 1 San Antonio TX

Inner classes can simplify some design by enriching the classes in which they are defined. They might add a "facet" to the behavior of an enclosing class, thus enriching its interactions with other classes. They can also be used as access control points where the inner class can be used to provide controlled access to some resource or to define isolated callbacks or to other beneficial purposes.

Some Insight Into Inner Classes in Java, Part 2 San Antonio TX

We conclude our brief look at inner classes by following up on their use as access control points and discussing how you can make them define isolated callbacks. Plus, we touch upon the use of static inner classes as helper classes in defining the role of the main class.

Swing from A to Z: Analyzing Swing Components, Part 3, Construction San Antonio TX

In this lesson, Baldwin explains the constructor for the GUI using JFrame, JPanel, JTextArea, JScrollPane, JTextField, JButton, and JLabel components.

Swing from A to Z: Analyzing Swing Components, Part 4, Inheritance San Antonio TX

Baldwin has previously introduced you to a very useful program that displays information about any Java component, including inheritance, interfaces, properties, events, and methods. In this lesson, Baldwin explains the code that gets and displays inheritance information about a component.

Swing from A to Z: Analyzing Swing Components, Part 5, Interfaces San Antonio TX

Baldwin previously introduced you to a very useful program that displays information about any Java component. In this lesson, he explains the code that gets, sorts, and displays information about component interfaces.

Swing from A to Z: Analyzing Swing Components, Part 1, Concepts San Antonio TX

Baldwin introduces a very useful program that displays information about any Java component, including inheritance, interfaces, properties, events, and methods. You can expand the program to provide even more information if you wish to do so.

Tacit Records: .NET Encryption and Java SecurityManager San Antonio TX

Our security columnist answers some cutting-edge questions on the changing landscape of safe application development, from the worlds of Java and .NET.

Tacit Records: Microsoft's Managed Execution Process San Antonio TX

This month, Gutschmidt considers the protocol for producing safe code in the .NET Framework. The Managed Execution Process translates your source code, generates metadata, compiles the translation into native code, and enables execution in the Common Language Runtime.

Tacit Records: The Java Class Loader San Antonio TX

We begin a new column on software security and quality with a discussion of an essential element of Java's type-safety strategy.

Test Your Java Knowledge: Using Modifiers, Part 2 San Antonio TX

True or false? Friendly or package access applies to all classes in the current working directory that are not declared to be public, private, or protected? Show off your smarts or learn a thing or two in our quiz series.

Test Your Java Knowledge: Using Operators and Making Assignments, Part 5 San Antonio TX

What is the bitwise exclusive or of 5 and 7? Show off your smarts or learn a thing or two in our quiz series.

Test Your Java Knowledge: Using Operators and Making Assignments, Part 6 San Antonio TX

What do you get when you use the == operator to compare references to literal String objects that contain the same value? Show off your smarts or learn a thing or two in our quiz series.

The Case for Web Services San Antonio TX

It's the hottest new buzzword in computing. Why? If industry momentum continues as it has, it is likely that Web services will make low-cost, widespread B2B a reality in the near future.

The Essence of OOP using Java, Classes San Antonio TX

In this lesson, Baldwin concentrates on a discussion of the Java class. He shows you how to write a very simple program that simulates the manufacture and use of the car radio discussed in an earlier lesson.

The Essence of OOP Using Java, Inheritance, Part 1 San Antonio TX

Baldwin shows you how to extend an existing class to create a new class. The new class is the blueprint for a new type. This is the mechanism for class inheritance in Java. Inheritance provides a formal mechanism for code reuse.

The Essence of OOP Using Java, Inheritance, Part 2 San Antonio TX

Baldwin shows you how to use method overriding to cause the behavior of a method inherited into a subclass to be appropriate for an object instantiated from the subclass.

The Essence of OOP Using Java, Objects, and Encapsulation San Antonio TX

Baldwin kicks off a new miniseries covering the necessary and most significant aspects of OOP using Java. He begins with encapsulation and objects.

The Essence of OOP Using Java, Polymorphism and Interfaces, Part 1 San Antonio TX

According to Baldwin, if you don't understand the Java interface, you don't understand Java. There is very little, if anything useful that can be done using Java without understanding and using the Java interface.

The Essence of OOP Using Java, Polymorphism and the Object Class San Antonio TX

Baldwin discusses the use of the Object class as a completely generic type for storing references to objects of subclass types, and explains how that results in a very useful form of runtime polymorphism.

The Essence of OOP Using Java, Polymorphism Based on Overloaded Methods San Antonio TX

Baldwin explains the use of overloaded methods for the purpose of achieving compile-time polymorphism.

The Essence of OOP using Java, Polymorphism, Type Conversion, Casting, Etc. San Antonio TX

Baldwin teaches you about assignment compatibility, type conversion, and casting for both primitive and reference types. He also teaches you about the relationship between reference types, method invocations, and the location in the class hierarchy where a method is defined.

The Essence of OOP using Java, Runtime Polymorphism through Inheritance San Antonio TX

According to Baldwin, with runtime polymorphism, the selection of a method for execution is based on the actual type of object whose reference is stored in a reference variable, and not on the type of the reference variable on which the method is invoked.

The Juxtaposition Between Hype and Reality San Antonio TX

A new P2P technology called JXTA has received a lot of hyperbole lately. Columnist Fox would like to clear things up a bit.

Thin Is In San Antonio TX

Our Hypewatch columnist offers up some skinny on what the savvy developer is looking for in a holiday gift, as well as where to get it, cheap.

Thoughts on Java and Open Source Security San Antonio TX

Java has been historically lucky in the open source field. Sun has been committed to community and industry participation since Java's inception, and by opening up source code Sun has helped foster innovation in areas such as security.

Understanding Java Multithreading and Read-Write Locks, Part 1 San Antonio TX

We try to demystify some of the key concepts of multithreading and to shed light on the lesser-known ones, while we build a working implementation of a read-write lock in Java.

Understanding Java Multithreading and Read-Write Locks, Part 2 San Antonio TX

We conclude our look at some of the key concepts of multithreading through our hands-on work on a read-write lock in Java - along with clarifying a few common misunderstandings.

Updating and Upgrading with Eclipse San Antonio TX

Follow these steps for smoother updates of minor releases and less painful migrations to major releases.

Use the BodyTagSupport Class to Add More Flexibility to JSP Pages San Antonio TX

In his "Class of the Month" column, Mohseni reviews a JSP tag class that enables developers to capture and manipulate data in the 'body' of a tag for use in an application.

User Code: A Color Calculator San Antonio TX

Gamelan contributor Ramesh Babu offers up the code for building a color calculator in Java.

User Code: A Little Socket App San Antonio TX

Here's a small Java socket application written by an EarthWeb user. Check his code.

User Code: A Simple Color Progress Bar San Antonio TX

Here's the code for building a simple color progress bar in Java.

User Code: A TableModel that Allows Column Sorting San Antonio TX

This user has written a TableModel class, following the Swing example, that sorts columns up and down using Comparator. Try it out.

User Code: Avoiding Those Pesky NullPointerExceptions San Antonio TX

User Russell Thackston has a thing about NullPointerExceptions. Here's how he deals with them.

User Code: ChatKaro San Antonio TX

This Java user has a nifty little applet for exchanging messages.

User Code: Giving JLabel a Different Face San Antonio TX

This user has a neat little trick to change JLabel typefaces.

User Code: Indexed List Model and Indexed Table Model San Antonio TX

A user has contributed a number of classes for working with indexed lists and tables in Java. Put them to the test.

User Code: Java Applet and JavaScript Communications San Antonio TX

Java user Zhou Wu offers a way to open a communications channel between a Java applet and an HTML page.

User Code: Java One-to-Many Chat San Antonio TX

This Java user has built upon his previously submitted chat applet to develop a multi-chat app. Try out his code.

User Code: JComboBox San Antonio TX

Gamelan contributor Paul Book offers up the code for a JComboBox that sets the date.

User Code: jPrn San Antonio TX

This user's code enables Java text files to be printed. Give it a test run.

User Code: JSP-XML Data Duality San Antonio TX

The author creates a user interface that enables users to view the same section of data in a dual form using XML and XSL.

User Code: Make an SHA Fingerprint from a String San Antonio TX

This user has created something called MySHA, which enables you to implement a Secure Hash Algorithm fingerprint through a Java call. (Submit your own code sample for publication!)

User Code: Method Finder San Antonio TX

This Java user solved the problem of identifying the constructors, methods, and fields of a Java class by creating an application to help him do just that.

User Code: Multi Progress Bar San Antonio TX

User Giacomo Veneri follows up his color progress bar with a new twist.

User Code: Place a Hyperlink Hand Cursor on a JTable Header San Antonio TX

This user shows you how to simulate the look of the famous hyperlink Hand Cursor on a table header in Java.

User Code: ReaderFile San Antonio TX

Java user Rakushin offers this free contribution for searching for words in a file and printing just those lines where the word appears. He uses it for finding IP addresses in log files. Check it out.

User Code: Rendering a JTable Header San Antonio TX

This user has come up with a little trick for improving performance in a renderer for column headers.

User Code: Validating Float Values in JTextfield San Antonio TX

This Gamelan user has a tip for validating Float class values in Swing's JTextfield.

User Code: W3Eval San Antonio TX

This user has created a Java applet that evaluates mathematical expressions more 'naturally' than the common calculator. Check it out.

Using Java to Import and Manipulate Microsoft Excel Documents San Antonio TX

Using Java to work with Microsoft Excel spreadsheets has never been easer with the help of the JExcel API, a Java library that provides the ability to read, write, and modify Microsoft Excel spreadsheets from within Java applications.

Using PHP with Forms San Antonio TX

Once you know the basics of PHP's syntax and structure, it is fairly easy to make the leap to writing full-fledged scripts. Because working with forms is one the most common tasks in writing applications for the web, the first script you will learn to write will be a form processor.

Views from Abroad: Cactus - No Pity for Bugs San Antonio TX

Our 'foreign correspondent' reports on France's Cactus, a server-side Java unit-testing tool available as open source.

Views from Abroad: Close Up On Jetty San Antonio TX

Jetty is popular with developers for its small memory footprint, its ability to work "right out of the box," and its friendly design.

Views from Abroad: GoXML DB, a Native XML Database for Java San Antonio TX

This month, our foreign correspondent looks at a new database tool from Canada with a Java API that provides a single interface for developers and integrators.

Views from Abroad: Really Running Anywhere San Antonio TX

This column is about the worldwide Java developer community. Indeed, it is exciting to remember that this community extends as far as the Web can carry it.

Views from Abroad: Simkin, A New Breed of Scripting Language San Antonio TX

This open-source embedded scripting language from the U.K. encourages you to insert scripts in the middle of XML data files, making it quite a valuable tool.

Views from Abroad: Some Thoughts on Open-Source Projects San Antonio TX

Marchal shares insights into open source gained from those who have spent time in the shop making the alternative way of developing software work. It's a business model that can boost a company's bottom-line, he concludes.

Will Open Source Lose the Battle for the Web? San Antonio TX

The author argues that Open Source products need to embrace the new Web services model and that the way to not lose the future is to ally with a technology already in place: the Enterprise Java platform.

Writing a Seamless Looper in Java, Part 1: Playing Audio San Antonio TX

This article will show you how to create a utility class that can seamlessly play a looped sample over and over in continuous loops, and which can replace the loop in realtime with another loop, without skipping a beat.

Writing a Seamless Looper in Java, Part 2: Seamless Looping San Antonio TX

We wrap up our discussion on creating a utility class that can seamlessly play looped samples with a lesson on overcoming system latency through the right Java code.

Writing Excel Files with Apache POI HSSF San Antonio TX

This article tells you how to create fully formatted Microsoft Excel workbooks at runtime. Just use Java with the help of the Apache POI projects' HSSF libraries.

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin