- Converting DTDs to XML Schemas
- Mar 22, 2002
- David Gulbransen walks through the conversion process from DTD to XML Schema.
|
- Core Java Security: Class Loaders, Security Managers, and Encryption
- Apr 16, 2008
- Security is a major concern of both the designers and the users of Java technology. Cay S. Horstmann and Gary Cornell describe Java's security mechanisms.
|
- Core Java: Collections Framework and Algorithms
- Feb 25, 2005
- This sample book chapter shows how Java technology can help you accomplish the traditional data structuring needed for serious programming, and introduces you to the fundamental data structures that the standard Java library supplies.
|
- Crafting Java Code with Test-Driven Development: the Basics
- Aug 26, 2005
- In this chapter, you'll learn how to define and test for parameters within the Java environment by creating a sample system for tracking course enrollment.
|
- Crafting Java with Test-Driven Development, Part 1: Getting Started
- Jan 13, 2006
- In this series, Jeff Langr walks you through the creation of an application with JUnit, showing how easy it can be to write high-quality, flexible code if you test as you go along.
|
- Crafting Java with Test-Driven Development, Part 10: Building the View
- Apr 14, 2006
- In this installment, Jeff Langr shows how to drive the construction of a Swing view class through tests. While it may seem a bit tedious at first, it's really not that hard. Refactoring code continually as we go along will also help speed things up and diminish the tedium. The bigger question is, do we really need to do this?
|
- Crafting Java with Test-Driven Development, Part 11: Making Things Happen
- Apr 21, 2006
- Our poker application shows a simple view with a "deal" button. The only problem is that the button does nothing when clicked! We'll want to deal cards when a user presses the button, but how do we accomplish that in a test-first way? As usual, Jeff Langr has the answers.
|
- Crafting Java with Test-Driven Development, Part 12: TDD at Cassatt: An Interview with Jerry R. Jackson
- Apr 28, 2006
- In this installment, Jeff Langr takes a break from developing the poker game to engage in a conversation with Jerry Jackson, veteran software developer and the coauthor of one of the first handful of books ever published on the Java language, Java By Example (Prentice Hall, 1996, written with Alan McClellan). Jerry has been doing object-oriented development for more than 20 years.
|
- Crafting Java with Test-Driven Development, Part 13: Nine Reasons Why You Should Be Using TDD
- May 26, 2006
- Still not convinced that your tried-and-true approach to programming wastes time, money, and effort? Jeff Langr completes his poker series with some passionate arguments for the power of TDD.
|
- Crafting Java with Test-Driven Development, Part 2: Testing Equality
- Jan 20, 2006
- If you've been coding in Java for awhile, you know how to write a method to test equality. Why write tests for something you can code in your sleep? Because, as Jeff Langr points out, you've probably made plenty of dumb mistakes in your career, either while asleep or while wide awake. It's simpler and safer to just think of tests as specifications that you always have to code.
|
- Crafting Java with Test-Driven Development, Part 3: Testing Hash Codes
- Jan 27, 2006
- The next stage of Jeff Langr's poker game creation requires writing tests to drive out a hash code algorithm, which is just a bit trickier than it sounds.
|
- Crafting Java with Test-Driven Development, Part 4: Shuffling and Dealing
- Feb 3, 2006
- Your poker game will be a bit on the dull side if the cards are always dealt in the same order. Jeff Langr discusses several scenarios for ensuring that a deck is shuffled differently each time before the deal.
|
- Crafting Java with Test-Driven Development, Part 5: Handling Exceptions
- Feb 17, 2006
- Handling exceptions may not be exciting, but it's a crucial part of writing your application. Instead of putting it off until the "fun stuff" is done, Jeff Langr advises a head-on approach: Drive exceptions through tests, like any other production code.
|
- Crafting Java with Test-Driven Development, Part 6: Refactoring Tests
- Mar 10, 2006
- With the support mechanisms in place and well-tested, Jeff Langr's poker game seems to have reached the point that developers like best: banging out the code. But even at this point, he's careful to focus on test-driving classes into existence.
|
- Crafting Java with Test-Driven Development, Part 7: Adding Some Bulk
- Mar 17, 2006
- Jeff Langr's poker application has come a long way in the last few installments of this series. In this segment, he adds the first set of code for handling some of those specialized poker terms you've might recognize from TV: the flop, the turn, the river, and the blinds.
|
- Crafting Java with Test-Driven Development, Part 8: It's Just Code
- Mar 24, 2006
- Our poker application is really starting to resemble the live version of the game! But Jeff Langr points out that we still have some holes to fill, replacing those reminders we left in the code from the last installment.
|
- Crafting Java with Test-Driven Development, Part 9: Driving a User Interface
- Apr 7, 2006
- Our poker application doesn't yet have betting support. Sounds like a good next step. But at this point the customer wants to see what all that development money has been paying for. We're flexible! So Jeff Langr instead explains how to build a user interface with Swing.
|
- Create Your Own Custom Ajax-Enabled Accordion Component
- Jan 26, 2007
- Kris Hadlock shows you how to create a custom Ajax-enabled accordion.
|
- Creating a Custom Java Swing Tablemodel
- Aug 27, 2004
- If all you need a JavaSwing JTable for is to display data in a tabular fashion, this article is not for you. But if you have ever used the DefaultTableModel and found it wanting, or found yourself writing horribly unmaintainable code to manipulate the data or retrieve the data), read on. The solution is simple, says Marcus Zarra.
|
- Creating a Reusable CRUD RESTful Web Service to Automate Your Common Database Operations
- Dec 9, 2011
- Expert programmer Jesse Smith shows you how you can save time by creating a reusable CRUD RESTful web service.
|