Article Network

Using Spring JMX within Java Applications

by Eric Spiegelberg | August 2010 | Java Open Source

Java Management Extensions (JMX) is an incredibly powerful Java technology. Introduced in 2003 as part of Java 5 and the result of multiple Java Community Process specifications (JSR-3 and JSR-160), JMX defines an architecture, API, and services for the management and monitoring of Java applications. Simply put, JMX is a standard part of Java used to interact with a running application. Once started, you probably tend to think of an application as if it were on its own island and that it's difficult to communicate with. Or perhaps you've never needed to interact with a running application or didn't realize such functionality was a possibility. JMX makes these interactions possible and can be used to receive event notifications or to invoke the functionality (such as business logic) contained within your running application. These interactions occur between a JMX client running locally and any Java Virtual Machine (JVM) running on a local or remote machine.

The topic of the article by Eric Spiegelberg, is a design for using JMX and Spring to interact with applications at runtime; the writing is one part a very light introduction to JMX, one part an introduction to the benefits of Spring JMX, and one part that presents a design for how to quickly and conveniently maximize the use of Spring JMX within your Java applications.

Read Using Spring JMX within Java Applications in full

Interacting with Data on the SharePoint Server

by Gastón C. Hillar | August 2010 | Enterprise Articles Microsoft

In this article by Gastón C. Hillar, author of the book Microsoft Silverlight 4 and SharePoint 2010 Integration, we will cover many topics that help us create simple and complex Line-Of-Business Silverlight RIAs that run as Silverlight Web Parts to interact with data in the SharePoint Server.

In this article, we will:

  • Use a Silverlight RIA to insert items into a SharePoint list
  • Prepare code to handle errors when remote operations fail
  • Work with messages to allow multiple Silverlight RIAs to communicate with each other
Read Interacting with Data on the SharePoint Server in full

Activating the BuddyPress Default Theme and Setting up and Configuring BuddyPress

by Heather R. Wallace | July 2010 | Open Source WordPress

You have a few options when it comes to themes. You can activate the default BuddyPress theme, install a different compatible theme, or upgrade your existing theme so that it can be used with BuddyPress. It's easiest to keep things simple, so begin with the default BuddyPress theme. Later on, you can change to a new theme after you've finished installing and configuring everything. In this article by Heather R. Wallace, author of the book WordPress 3 Site Blueprints, we'll discuss the BuddyPress Default Theme.

Read Activating the BuddyPress Default Theme and Setting up and Configuring BuddyPress in full

Building a Job Board Website using JobPress

by Heather R. Wallace | July 2010 | Open Source WordPress

No matter how good or bad the economy might be at any given time there will always be job seekers. Every day people search online to find employment in a variety of industries. Searching the bigger job boards can be overwhelming and time-consuming because job seekers must sort though the myriad of job listings in an attempt to locate positions that match their unique skill sets. What would greatly benefit these job seekers is a fine-tuned job board that concentrates on a smaller segment of the overall job market. That's where JobPress comes in.

In this article by Heather R. Wallace, author of the book WordPress 3 Site Blueprints, we will see how with the JobPress theme, you can easily create a niche job board to serve a particular segment of job seekers.

Read Building a Job Board Website using JobPress in full

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

The Basics of Joomla! Module Creation and Creating a "Send us a question" Module

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

To date, Joomla! has been 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. Most of the time, these appealing and powerful features work thanks to JavaScript.

In this article by Jose Argudo Blanco, author of the book Joomla! 1.5 JavaScript jQuery, we will:

  • Learn the basics of Joomla! module creation
  • Create a "Send us a question" module
Read The Basics of Joomla! Module Creation and Creating a "Send us a question" Module in full

Solving Least Privilege Problems with the Application Compatibility Toolkit

by Russell Smith | July 2010 | Enterprise Articles Microsoft

The launch of Windows XP in 2001 heralded the long-awaited transition of consumer-orientated editions of Windows to the NT codebase. Microsoft designed the Windows Application Compatibility Infrastructure as part of Windows XP to help system administrators and home users solve compatibility problems with applications that were designed to run in Windows 98 or earlier versions of the 9x range.

In this article by Russell Smith, author of Least Privilege Security for Windows 7, Vista and XP, we will learn:

  • How the Application Compatibility Infrastructure uses shims to modify incompatible applications on the fly
  • Why using shims provides the best balance between compatibility and security
  • How to create shims using Application Compatibility Toolkit 5.5
  • Distributing compatibility databases to devices across the enterprise
Read Solving Least Privilege Problems with the Application Compatibility Toolkit in full

New Features in JPA 2.0

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

In this article by David Heffelfinger, author of the book Java EE 6 with GlassFish 3 Application Server, we will look at how to build queries programmatically through the JPA 2.0 Criteria API and automating data validation through JPA 2.0's Bean Validation support.

Read New Features in JPA 2.0 in full

Flash 10 Multiplayer Game: Game Interface Design

by Prashanth Hirematada | July 2010 | Web Development Web Graphics & Video

In this article by Prashanth Hirematada, author of Flash 10 Multiplayer Game Essentials, we will explore the Hello World sample included in the Pulse package. We will focus on how things get initialized and the login process. We will also cover the Pulse framework functionalities. We will explore how the different screens for the game are managed by the PulseUI framework. Finally, we will explore some of the server-side challenges regarding player login and registration during a commercial game deployment.

Specifically, we will learn the following:

  • Programming structure of a multiplayer game
  • Game screen management with the PulseUI framework
  • Detailed walk-through of the login process
  • Login and registration in a typical multiplayer game deployment
Read Flash 10 Multiplayer Game: Game Interface Design in full

Solving LUA Problems with Avecto Privilege Guard

by Russell Smith | July 2010 | Enterprise Articles Microsoft

This article by Russell Smith, author of Least Privilege Security for Windows 7, Vista and XP, includes information about tools and techniques that can be used to solve Least Privilege Security problems. Specifically, we will use third-party solution to configure administrative privileges for applications and Windows processes on-the-fly. Privilege Guard is a third-party solution, from Microsoft Gold Partner Avecto, that allows system administrators to dynamically add or remove privileges by modifying the logged in user's access token as it's assigned to new processes.

Read Solving LUA Problems with Avecto Privilege Guard in full

Flash 10 Multiplayer Game: The Lobby and New Game Screen Implementation

by Prashanth Hirematada | July 2010 | Open Source Web Development

With Pulse SDK, we hardly need to write code for either on the server side, which is already taken care of by the server out of the box or on the client-side, which is taken care of by the PulseUI framework. In the previous article we were introduced to the Lobby and Room Management. In this article by Prashanth Hirematada, author of Flash 10 Multiplayer Game Essentials, we will see how we can directly use the PulseUI framework to jumpstart our multiplayer game as well as customize it to suit the needs for your game. Finally, once players either create a room or join an existing one, we will see how the game screen gets initialized and displayed for the game to start.

More specifically, we will learn the following:

  • Creating a new game room
  • Player management within game rooms
  • Initializing the game screen
Read Flash 10 Multiplayer Game: The Lobby and New Game Screen Implementation 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