In the previous article we saw how to Enable Spring Faces support. In this article by Markus Stäuble, we will learn how to use Spring Faces and its integration with JSF component libraries.Read Using Spring Faces in full
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
Having built a puzzle game called Flood Control in XNA 4.0 and enhanced it with animation, in this article by Kurt Jaegers, author of XNA 4.0 Game Development by Example: Beginner's Guide, we will take it further by:
- Adding a SpriteFont to the game and displaying the current level and score in their appropriate positions on the screen
- Implementing the flooding of the dome and adding increasing difficulty levels
All of these enhancements will give the player a better game experience, as well as give us the opportunity to learn more about how the SpriteBatch class can be used for animation and text display.Read Using SpriteFonts in a Board-based Game with XNA 4.0 in full
Starting with the release of Xcode 4.2 and iOS 5, developers and designers now have the ability to lay out the workflow of their applications using the new storyboards feature that has been incorporated as part of the XIB editor in Xcode.
Instead of creating numerous interface files, you can now start dragging and editing all your views in one place with the ability to specify transitions between screens and the associated actions that trigger them.
In this article by Steven F. Daniel, who has also authored the book Xcode 4 Cookbook, we will be gaining an understanding of what storyboards actually are, and how they require iOS 5 or later, as well as familiarizing ourselves with the new work flow that has been implemented within the XIB editor within Xcode.Read Using Storyboards in full
In this two-part article series by Leonard Murphy, author of Building Websites with Expression Engine 2.X, you will take an existing website that was written outside of ExpressionEngine and adapt it to ExpressionEngine. In the first part you created your own channel with fields customized to the content that you will be displaying.
In this article you will be:
- Using templates to display your channel content
- Creating a 404 page for visitors who get lost on your site
In this article by Micheal Lively, the author of Instant Hands-on Testing with PHPUnit How-to [Instant], we will go into detail of how these fixtures work and what types of things you can do with them.
As you begin writing tests you'll find that many of them, especially ones inside the same test case class, need to run the same code to set up the object that you are running tests against. This code is part of what is commonly called a fixture. Many test methods require the same fixture. PHPUnit allows you to support shared fixtures using the setUp()and tearDown() methods.Read Using Test Fixtures in PHPUnit in full
When query results exceed the display area then you resort to scrolling and wish you had some way to limit the number of results displayed and comfortable to view without scrolling. Paging functionality which provides an answer to this is therefore a much desired feature. The Data Pager Control in Visual Studio 2008 provides this functionality when you create an ASP.NET web form under .NET Framework 3.5. It can be configured automatically using the GUI, or it can be installed manually after installing the ListView. In this article both of them are described. While the number of items displayed in a list can be declaratively coded, it is possible to set it at page load time as well.
This article by Dr. Jayaram Krishnaswamy describes how you may connect to SQL Server 2008 and display the retrieved data in a ListView Control on a web page. The ListView Control is the only control in ASP.NET that supports the new ASP.NET control, the Data Pager Control. This article shows how the data from a table in SQL Server 2008 is displayed in the ListView and how the Data Pager is configured to cycle the List View items.Read Using the Data Pager Control in Visual Studio 2008 in full
Testing is a critical step in the development of any application. This article by Jason Dentler, author of NHibernate 3.0 Cookbook, introduces some techniques you can apply to quickly test your NHibernate applications. The recipes in this article are designed to ease the testing process and expose common issues.
In this article, we will cover the following topics:
- Using the Fluent NHibernate persistence tester
- Using the Ghostbusters test
In this article, by Walid Gédéon, author of OSGi and Apache Felix 3.0, we will first have a look at the OBR service in some level of detail, and then we'll see how we use it to install bundles from a remote location onto our Felix framework.
This article covers the following topics:
- OBR, the OSGi Bundle Repository
- Using the OBR scope commands
- Installing the Inventory bundles to Felix
- Dependency management
This article written by Holden Karau, the author of Fast Data Processing with Spark, aims to describe the Spark shell which is a wonderful tool for rapid prototyping with Spark. It helps to be familiar with Scala, but it isn't necessary when using this tool. The Spark shell allows you to query and interact with the Spark cluster. This can be great for debugging or for just trying things out.Read Using the Spark Shell in full
The Windows Azure Platform PowerShell cmdlets use the Windows Azure Service Management REST API to expose service management operations as PowerShell cmdlets. The cmdlets provide a convenient way to manage hosted services, including retrieving the properties of current deployments and uploading new and upgraded deployments.
In this article by Neil Mackenzie, author of Microsoft Windows Azure Development Cookbook, we will learn how to use the Windows Azure Platform PowerShell cmdlets to invoke various service operations in the Windows Azure Service Management REST API.Read Using the Windows Azure Platform PowerShell Cmdlets in full
In an application with a large number of UI components, setting attributes for each can be a tedious task and can also lead to errors. A Theme allows us to set the style attributes for an entire class of components in a single place. This not only simplifies the task of setting attributes for all components of a particular type but also ensures that any newly added component will look just like all the others of the same type in the application. A theme thereby establishes a visual coherence through all the screens of an application.
In this two-part article by Biswajit Sarkar, we shall study themes and their usage in detail. In the first part, we will cover the following points:
- View an existing theme using the LWUIT Designer
- Edit a theme
- Build a new theme
- Preview the new theme on LWUIT demo MIDlet
In the previous part by Biswajit Sarkar, we covered working with theme files. In this part, we will focus on theming custom components, manual styling versus theming, theming on the fly, and new version of the LWUIT Designer.Read Using Themes in LWUIT 1.1: Part 2 in full
In this article by Loiane Groner, author of Sencha Architect App Development, we will learn about third-party plugins. Plugins are a huge help when we want to develop something that is not available within the Sencha API. The plugins that are supported natively already come as an option in Sencha Architect, but there are a lot of plugins that are shared by other developers that we can find on Sencha Forums.Read Using third-party plugins (non-native plugins) in full
The article, Using Unrestricted Languages, talks about writing functions in languages other than the built-in PL/pgSQL. This article by Hannu Krosing, Jim Mlodgenski, and Kirk Roybal the authors of PostgreSQL Server Programming, provides a gist of writing server-side code in languages other than PL/pgSQL.
You may have noticed that some of the PLs in PostgreSQL can be declared as untrusted. They all end in letter u to remind you that they are untrusted each time you use them to create a function.
This untrustedness brings up many questions:
- Does being untrusted mean that such languages are somehow inferior to trusted ones?
- Can I still write an important function in an untrusted language?
- Will they silently eat my data and corrupt the database?
The answers are no, yes, and maybe respectively. Let's discuss these questions in order.Read Using Unrestricted Languages in full
NNMi provides a list of URLs that can be used for accessing most NNMi console objects. This standardized list of URLs and their syntax helps us build the right URL, in order to get the right data object integrated in our selected third-party application.
In this article by Marius Vilemaitis, author of HP Network Node Manager 9: Getting Started, we will cover:
- Generic URLs.
- Workspace-related URLs.
- Form-related URLs.
- Menu item-related URLs.
In this article by Timothy Bish, the author of the book Instant Apache ActiveMQ Messaging Application, we are going to look at ActiveMQ's Virtual Destinations feature and learn how it can save us from the many limitations that come with using durable topic subscriptions.Read Using Virtual Destinations (Advanced) in full
In this article by Dirk Manuel, you will learn how to:
- Use Web Pages in the Concepts pane and beyond
- Use Packages and link them to content objects
A Web Page, in UPK terms, is a single file that can contain text or images. In this respect, Web Pages are very limited. You can perform rudimentary font formatting, provide lists, and insert images, but that's about it. You cannot insert tables, or use any HTML tags as you would be able to with real web pages (which you can only use via a Package). However, they are very flexible, and can be utilized in a number of ways.
For readers familiar with OnDemand version 8.7 and earlier, Web Pages are the new, improved text Infoblocks. Other types of Infoblocks have been replaced by Packages, which are covered separately, below.Read Using Web Pages in UPK 3.5 in full
In this article, by Jurij Laznik, the author of the book BPEL and Java Cookbook, we will cover the following recipes:
- Setting up an XML facade project
- Generating XML facade using ANT
- Creating XML facade from XSD
- Creating XML facade from WSDL
- Packaging XML facade into JAR
- Generating Java documents for XML facade
- Invoking XML facade from BPEL processes
- Accessing complex types through XML facade
- Accessing simple types through XML facade