Article Network

Apache MyFaces Trinidad 1.2 Web Application Groundwork: Part 1

by David Thomas | November 2009 | Web Development

In this article we develop the basic parts of the web application that serves as Trinidad sample web application. For example, login registration, user authorization, navigation, internationalization (18n), and polling are implemented and briefly discussed. We cover all these areas and learn how this can be practically solved in conjunction with Trinidad, Facelets, and Seam and provide further completing information wherever required.

Also, at the end of this two-part article by David Thomas, we deal with deployment using Seam-gen to rapidly deploy at each change of any file.

Read Apache MyFaces Trinidad 1.2 Web Application Groundwork: Part 1 in full

Apache MyFaces Extensions Validator

by Bart Kummel | March 2010 | Java Open Source Web Development

In this article by Bart Kummel, author of Apache MyFaces 1.2 Web Application Development, you will be able to:  

  • Set up a project to use ExtVal
  • Use ExtVal to generate validation based on JPA annotations
  • Use ExtVal’s added annotations for additional validation
  • Implement cross validation using ExtVal’s annotations
  • Use ExtVal with custom JSF validators
  • Create custom error messages for ExtVal validations
  • Override and extend ExtVal’s default behavior
Read Apache MyFaces Extensions Validator in full

Apache Karaf – Provisioning and Clusters

by Jean-Baptiste Onofré | July 2014 | Open Source

This article is written by Jean-Baptiste Onofré, the author of Learning Karaf Cellar. Open Software Gateway initiative (OSGi) has been "hidden" for a long time and reserved to middleware such as IDE or application servers. However, OSGi can be applied in a lot of different contexts and applications. An OSGi application needs an environment to run. Apache Karaf is a lightweight, powerful, and enterprise-ready OSGi container where you can deploy your applications. On a production system, especially a mission-critical platform, it makes sense to be able to manage a set of Apache Karaf containers and to spread the deployment (or provisioning) of applications to these different instances.

Read Apache Karaf – Provisioning and Clusters in full

Apache Geronimo Logging

by Vamsavardhana Reddy Chillakuru | November 2009 | Java Open Source

The ability to log important events or errors for problem diagnosis and then checking of application execution is very important. The ability to log certain statements selectively while others are not logged, depending on the context in which the application is running, is also important. An application that is deployed in Apache Geronimo can use any custom logging mechanism to log its messages. However, Apache Geronimo uses log4j and slf4j for logging server log messages. Applications deployed in Geronimo can also leverage the functionality of these logging frameworks. In this article by Vamsavardhana Reddy Chillakuru, we will see how an application developer can configure logging for his application in Apache Geronimo, by using some common logging frameworks. The frameworks that we will be covering are:

  • Apache log4j
  • Java logging API
  • slf4j logging adapter
Read Apache Geronimo Logging in full

Apache Felix Gogo

by Walid Joseph Gédéon | November 2010 | Beginner's Guides Open Source

Felix Gogo, a sub-project of Apache Felix, is an implementation of this early draft specification. The Gogo shell is included with the Felix Framework Distribution since version 3.0.

It is worth noting that this specification is not yet part of the official OSGi specifications, and therefore, may change in the future.

In this article, by Walid Gédéon, author of OSGi and Apache Felix 3.0, we will:

  • Learn about the Tiny Shell Language and its syntax
  • Cover some of the commands provided by Gogo

So let's start with a quick overview of the language.

Read Apache Felix Gogo in full

Apache Continuum: Ensuring the Health of your Source Code (Part 1)

by Brett Porter Maria Odea Ching | September 2009 | Java Open Source

In the article Continuum: Ensuring the Health of your Source Code by Maria Odea Ching and Brett Porter, we will learn about the importance of a continuous integration, or CI, server in a project (especially gigantic ones!).

We will be using Continuum to show you first-hand the formidable role of a CI server in the development life cycle. We will learn the essentials of how to set up Continuum, plus the basics of how to configure it so you will know when your project's build breaks.

The first part of the article deals with setting up a source repository, installing any required applications or tools, and setting up Continuum. The remaining sections cover the systematic process of adding and building projects in Continuum.

Read Apache Continuum: Ensuring the Health of your Source Code (Part 1) in full

Apache CloudStack Architecture

by Navin Sabharwal Ravi Shankar | June 2013 | Open Source

This article is written by Navin Sabharwal and Ravi Shankar, the authors of Apache CloudStack Cloud Computing, introduces you to Cloud Computing, the architecture of Apache CloudStack, and the various components of Apache CloudStack.

To understand Apache CloudStack, it is important to have an understanding of the basic building components of the cloud. In this article we will introduce you to the following:

  • The concept of cloud computing
  • The core components of the cloud
  • The basic components of CloudStack—management servers and types of storage
Read Apache CloudStack Architecture in full

Apache Cassandra: Working in Multiple Datacenter Environments

by Edward Capriolo | July 2011 | Cookbooks Open Source

Apache Cassandra is a fault-tolerant, distributed data store which offers linear scalability allowing it to be a storage platform for large high volume websites.

The tunable consistency model of Cassandra extends beyond a single datacenter to complex multiple datacenter scenarios. This article by Edward Capriolo, author of Cassandra High Performance Cookbook, discusses the features inside Cassandra that are designed for this type of deployment.

Read Apache Cassandra: Working in Multiple Datacenter Environments in full

Apache Cassandra: Libraries and Applications

by Edward Capriolo | June 2011 | Open Source

Apache Cassandra is a fault-tolerant, distributed data store which offers linear scalability allowing it to be a storage platform for large high volume websites.

In this article by Edward Capriolo, author of Cassandra High Performance Cookbook, you will learn:

  • Building the contrib stress tool for benchmarking
  • Inserting and reading data with the stress tool
  • Running the Yahoo! Cloud Serving Benchmark
  • Hector, a high-level client for Cassandra
  • Doing batch mutations with Hector
  • Cassandra with Java Persistence Architecture (JPA)
  • Setting up Solandra for full text indexing with a Cassandra backend
  • Setting up Zookeeper to support Cages for transactional locking
  • Using Cages to implement an atomic read and set
  • Using Groovandra as a CLI alternative
  • Searchable log storage with Logsandra
Read Apache Cassandra: Libraries and Applications in full

Apache Axis2 Web Services: Writing an Axis2 Module

by Deepal Jayasinghe | February 2011 | Cookbooks Web Services Open Source

In this article, we will learn that the Axis2 module provides a very flexible way to extend the Axis2 core functionality and provides quality service. Moreover, we'll discuss the module and related concepts by writing a sample module and demonstrating most of the commonly used configuration settings. In our sample application, we discuss how to write handlers, how to write module implementation classes, and finally, how to put everything together and deploy the module. At the end of the article, we learn how to engage a module to Axis2.

In this article by Deepal Jayasinghe and Afkham Azeez, authors of Apache Axis2 Web Services, 2nd Edition, we will discuss the power of Axis2 modules and how to use them to extend Axis2 to support your own requirements. In particular, we will discuss the following items:

  • Brief history of the Axis2 module and introduce module concept and its structure
  • Module configuration file (module.xml)
  • Optional module implementation class
  • Steps to writing a module.xml file
  • Deploying and engaging a module
  • Brief overview of the WS-Policy and its usage in modules
Read Apache Axis2 Web Services: Writing an Axis2 Module in full

Animation in Silverlight 4

by Frank LaVigne | April 2010 | Beginner's Guides Microsoft Web Development Web Graphics & Video

Packt are due to launch a new Enterprise brand, into which future Silverlight titles will be published. For more information on that launch, look here.

In this article by Frank LaVigne, author of Microsoft Silverlight 4 Business Application Development, we shall create an interactive logo using Silverlight and incorporate it into the website.

Read Animation in Silverlight 4 in full

Animation Effects in ASP.NET using jQuery

by Sonal Aneel Allana | May 2011 | .NET

jQuery offers many useful utilities to achieve animation effects, thus empowering developers to build rich animated pages for a better interactive experience for the web users. This article looks into various interesting animation effects that can be achieved using jQuery.

In this article by Sonal Aneel Allana, author of ASP.NET jQuery Cookbook, we will cover:

  • Enlarging text on hover
  • Creating fade effect on hover
  • Sliding elements on a page
  • Preventing animation queue buildup
  • Animating a panel
  • Chaining animations together
Read Animation Effects in ASP.NET using jQuery in full

Animating in Panda3D

by David Brian Mathews | March 2011 | Open Source

Animation is a crucial component of most 3D applications. Our game is a bit of a special case because our characters are vehicles rather than people, and they don't need walking or running animations. For many video games, that won't be the case. In order to be better prepared for those situations, we're going to use a simple proxy program to discuss some of the aspects of animation and how it's used in Panda3D. Once we've covered that material, we'll employ some aspects of the animation system in our game as well. Our hover cycles may not need a walking animation, but there are pieces of the animation system we can make use of.

The topics we're going to cover in this article by David Brian Mathews, author of Panda3D 1.6 Game Engine Beginner's Guide, will be:

  • Loading Actors and Animations
  • Controlling Animation
  • Blending Animations
  • Creating and using Actor subparts
  • Exposing joints
Read Animating in Panda3D in full

Animating Graphic Objects using Python

by Mike Ohlson de Fine | December 2010 | Cookbooks Open Source

The previous article, Python Graphics: Animation Principles, starts with examples of simple sequences of a circle in different positions and systematically progresses to smoothly-moving animations of elastic balls bouncing inside a gravity field.

In this article by Mike Ohlson de Fine, author of Python 2.6 Graphics Cookbook, we will cover:

  • Colliding balls with tracer trails
  • Elastic ball against ball collisions
  • Dynamic debugging
  • Trajectory tracing
  • Rotating a line and vital trigonometry
  • Rotating lines which rotate lines
  • A digital flower
Read Animating Graphic Objects using Python in full

Animating capabilities of Cinema 4D

by Aaron Kaminar | May 2013 | Open Source

Cinema 4D is a powerful 3D application created by Maxon computing. It is relatively easy to learn and use. Despite this, it also has a host of powerful features that can be used to create dynamic and eye catching 3D images and animations, quickly and efficiently. In this article by Aaron Kaminar from the book Instant Cinema 4D Starter, we will walk through some of the animating capabilities of this powerful application.

Read Animating capabilities of Cinema 4D in full

Animating a built-in button

by Nick Polyak | March 2013 | Enterprise Articles Microsoft

This article by Nick Polyak, author of Instant Silverlight 5 Animation , will describe the process involved in animating a built-in button.

A Silverlight button has the following mouse-driven states:

  • Normal

  • MouseOver

  • Pressed

Read Animating a built-in button in full

Angular Zen

by Pawel Kozlowski Peter Bacon Darwin | September 2013 | Open Source Web Development

This article written by Pawel Kozlowski and Peter Bacon Darwin, the authors of Mastering Web Application Development with AngularJS, serves as an introduction to AngularJS, both the framework and the project behind it. Firstly we are going to take a brief look at the project itself: who drives it, where to find the source code and the documentation, how to ask for help, and so on.

Most of this article is filled with introduction to the AngularJS framework, its core concepts, and coding patterns. There is a lot of material to cover, so to make the learning process fast and painless, there are plenty of code examples.

AngularJS is a unique framework that without doubt will shape the web development space in the years to come. This is why the last part of this article explains what makes AngularJS so special, how it compares to other existing frameworks, and what we can expect from it in the future.

In this article we will cover the following topics:

  • How to write a simple Hello World application in AngularJS. In the process of doing so, you will come to know where to find framework source code, its documentation, and community.
  • To get familiar with the basic building blocks of any AngularJS application: templates with directives, scopes, and controllers.
  • To become aware of the AngularJS sophisticated dependency injection system with all its nuances.
  • To understand how AngularJS compares to other frameworks and libraries (especially jQuery) and what makes it so special.
Read Angular Zen in full

Android User Interface Development: Validating and Handling Input Data

by Jason Morris | July 2011 | Beginner's Guides Web Services

Android provides an excellent toolset to capture many different types of data from the user, while also providing loose coupling between your application components in the form of Intent structures. By using several smaller Activity classes to capture data, while at the same time abstracting the functionality to capture different types of input, you'll be able to more easily reuse the input capturing Activity classes, not just within the application, but in other applications as well. Further, by registering the Activity correctly, you'll allow other applications to override, or make use of your Activity implementation, allowing the users to select their preferred capturing mechanism.

This article by Jason Morris, author of Android User Interface Development: Beginner's Guide, provides tips regarding taking input from a user, and how to keep this experience as painless as possible. This article investigates the different input widgets Android provides and how to configure them best, depending on the situation. Also, when everything else fails, how best to inform your users that what they are doing is wrong.

Read Android User Interface Development: Validating and Handling Input Data 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
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