Latest Articles

View : All | June | May | April | Alphabetical:A-Z | Z-A

Setting up GlassFish for JMS and Working with Message Queues

by David R. Heffelfinger | July 2010 | Java Open Source

The Java Messaging API (JMS) provides a mechanism for Java EE applications to send messages to each other. JMS applications do not communicate directly, instead message producers send messages to a destination and message consumers receive the message from the destination.

The message destination is a message queue when the point-to-point (PTP) messaging domain is used, or a message topic when the publish/subscribe (pub/sub) messaging domain is used.

In this article by David Heffelfinger, author of the book Java EE 6 with GlassFish 3 Application Server, we will cover the following topics:

  • Setting up GlassFish for JMS
  • Working with message queues
Read Setting up GlassFish for JMS and Working with Message Queues in full

Microsoft Visual Studio 2010: Improving Class Quality with Cohesion

by Peter Ritchie | July 2010 | Enterprise Articles Microsoft

This two-part article series by Peter Ritchie, author of Refactoring with Microsoft Visual Studio 2010, introduces code quality metrics like cohesion and coupling. Principles related to cohesion and coupling are introduced and refactorings that increase cohesion and decrease coupling are covered in this article series. In this first part we will cover how cohesion can be applied to increase code quality.

Read Microsoft Visual Studio 2010: Improving Class Quality with Cohesion in full

Microsoft Visual Studio 2010: Improving Class Quality with Coupling

by Peter Ritchie | July 2010 | Enterprise Articles Microsoft

In the first part of this two-part article series by Peter Ritchie, author of Refactoring with Microsoft Visual Studio 2010, we covered principles related to cohesion and refactorings that increase cohesion. In this part, principles related to coupling are introduced and refactorings that decrease coupling are covered. We will see how coupling can be applied to increase code quality.

Read Microsoft Visual Studio 2010: Improving Class Quality with Coupling in full

Ensuring Quality for Unit Testing with Microsoft Visual Studio 2010

by Peter Ritchie | July 2010 | Enterprise Articles Microsoft

Some level of automated unit testing is required to maintain the quality of the software to support the refactoring effort. In this article by Peter Ritchie, author of Refactoring with Microsoft Visual Studio 2010, we'll discuss various aspects of unit testing, as well as how to approach unit testing with Visual Studio. We will cover some testing frameworks to facilitate writing, like mocking frameworks, and executing those tests. We'll cover the following topics:

  • Automated testing
  • Unit tests
  • Mocking
  • Mocking frameworks
  • Unit test frameworks
  • Unit testing legacy code
  • Test-driven development
  • Third party refactoring tools
Read Ensuring Quality for Unit Testing with Microsoft Visual Studio 2010 in full

Making a Better Form using JavaScript

by Jose Argudo Blanco | July 2010 | Joomla! Open Source

Joomla! is well known as a great content management system (CMS). There are many sites using it throughout the world, some of them having great features that impress their visitors.

In the previous article we learnt the basics of Joomla! module creation and also created a "Send us a question" module.

In this article by Jose Argudo Blanco, author of the book Joomla! 1.5 JavaScript jQuery, we are going to add some new features to our little module. These features are intended to make a better form, such as avoiding a full page reload by sending the form using AJAX or checking that some text has been introduced before sending it. All these are good features, though not every form needs to make use of these features. It's up to us to decide when to implement them.

Read Making a Better Form using JavaScript in full
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software