Apache OFBiz Service Engine: Part 1
In this two-part article by Jonathon Wong and Rupert Howell, we will be exploring the Service Engine. Services in OFBiz operate in a Service Oriented Architecture (SOA). These services not only have the ability to invoke other services internally, but can also be 'opened up' and invoked by remote applications using, amongst other methods, the widely adopted messaging protocol SOAP.
Besides serving as a platform for interoperability, OFBiz services also offer us additional capability to organize our code. The traditional organizational strategies in object-oriented Java were a great improvement over the procedural paradigm. Wrapping both methods and variables together into objects to form a powerful "behavioral model" for code organization (where object's methods and variables define their behavior). Similarly with OFBiz services we are able to bundle groups of behavior together to form a coherent "service". We can say that OFBiz services, in terms of code or software organization, operate at a higher level than Java object-oriented organizational strategies.
In this part, we will be looking at:
- Defining and creating a Java service
- Service parameters
- Special unchecked (unmatched) IN/OUT parameters
- Security-related programming
Apache OFBiz Service Engine: Part 2
In the previous part of the article by Jonathon Wong and Rupert Howell, we looked at Defining and creating a Java service, Service parameters, Special unchecked (unmatched) IN/OUT parameters, and Security-related programming. In this part, we will look at the following:
- Calling services from code (using dispatcher)
- IN/OUT parameter mismatch when calling services
- Sending feedback; standard return codes success, error and fail
- Implementing Service Interfaces
- Synchronous and asynchronous services
- Using the Service Engine tools
- ECAs: Event Condition Actions
Apache OFBiz Services
In this article, by Ruth Hoffman, author of Apache OFBiz Cookbook, we explore the following OFBiz Service topics:
- Managing OFBiz Services
- Calling asynchronous, synchronous, and recurring Services from an HTML form
- Creating a Service definition file
- Creating a Service definition
- Service implementation
- Defining Service input and output attributes
- Service Event Condition Actions (SECAs)
- Service groups
- Handling Service errors
- Implementing Groovy Services
- Mail Event Condition Actions (MECAs)
- Entity Event Condition Actions (EECAs)
Apache Roller 4.0: Creating a Theme
In this article by Alfonso V. Romero, author of Apache Roller 4.0 Beginner's Guide, we will look at how to create your first Roller theme from scratch. We will also cover the basics about the theme.xml, weblog.vm, _day.vm, and stylesheet override files used inside a Roller theme.
Read Apache Roller 4.0: Creating a Theme in fullApache Solr Configuration
Setting up an example Solr instance is not a hard task, at least when setting up the simplest configuration. The simplest way is to run the example provided with the Solr distribution, that shows how to use the embedded Jetty servlet container.
In this article by Rafal Kuc, author of Apache Solr 4 Cookbook , we will cover the following topics:
-
Running Solr on Jetty
-
Running Solr on Apache Tomcat
-
Installing a standalone ZooKeeper
-
Clustering your data
-
Choosing the right directory implementation
-
Configuring spellchecker to not use its own index
-
Solr cache configuration
-
How to fetch and index web pages
We have a simple configuration, simple index structure described by the schema.xml file, and we can run indexing.
In this article you'll see how to configure and use the more advanced Solr modules; you'll see how to run Solr in different containers and how to prepare your configuration to different requirements. You will also learn how to set up a new SolrCloud cluster and migrate your current configuration to the one supporting all the features of SolrCloud. Finally, you will learn how to configure Solr cache to meet your needs and how to pre-sort your Solr indexes to be able to use early query termination techniques efficiently.
Read Apache Solr Configuration in fullApache Solr: Analyzing your Text Data
The process of data indexing can be divided into different parts. One of the parts, actually one of the last parts, of this process is data analysis . It's one of the crucial parts of data preparation. It defines how your data will be written into index, its structure, and so on. In Solr, data behavior is defined by types.
In this article by Rafał Kuć, author of Apache Solr 3.1 Cookbook, we will cover:
- Storing additional information using payloads
- Eliminating XML and HTML tags from the text
- Copying the contents of one field to another
- Changing words to other words
- Splitting text by camel case
- Splitting text by whitespace only
- Making plural words singular, but with out stemming
- Lowercasing the whole string
- Storing geographical points in the index
- Stemming your data
- Preparing text to do efficient trailing wildcard search
- Splitting text by numbers and non-white space characters
Apache Solr: Spellchecker, Statistics, and Grouping Mechanism
There are many features of Solr that we don't use every day. In the previous article by Rafal Kuc, author of Apache Solr 3.1 Cookbook, we took a look at some Solr functionalities such as highlighting, sorting results, ignoring words, and so on. In this article, we will take a look at the spellchecker, statistics, or grouping mechanism which may not be in everyday use, but they can come in handy in many situations. The author will try to show you how to overcome some typical problems that can be fixed by using these Solr functionalities.
Specifically, we will cover:
- Computing statistics for the search results
- Checking user's spelling mistakes
- Using "group by" like functionalities in Solr
Apache Wicket: Displaying Data Using DataTable
No web application is complete without a page that has a table of data. In this article by Igor Vaynberg, author of Apache Wicket Cookbook, we will learn how to make great use of Wicket's DataTable components to make displaying awesome tables a snap.
In this article we will cover:
- Sorting
- Filtering
- Making cells clickable
- Making rows selectable with checkboxes
- Exporting data to CSV
Appcelerator Titanium: Creating Animations, Transformations, and Understanding Drag-and-drop
Almost any control or element in Titanium can have an animation or transform applied to it. This allows you to enhance your applications by adding a level of interactivity and "bling" that your apps would otherwise perhaps not have.
In this article by Boydlee Pollentine, author of of Appcelerator Titanium Smartphone App Development Cookbook, we will cover:
- Animating a View using the "animate" method
- Animating a View using 2D matrix and 3D matrix transforms
- Dragging an ImageView using touch events
- Scaling an ImageView using a Slider control
- Saving our "Funny Face" image using the toImage() method
Application Development in Visual C++ - The Tetris Application
Tetris is a classic game. In this article by Stefan Björnander, we will develop a version very similar to the original version. Seven figures of different shapes and colors fall down and the player's job is to move and rotate them into positions so that as many rows as possible are completely filled. When a row is filled, it disappears. Every removed row gives one point.
Read Application Development in Visual C++ - The Tetris Application in fullApplication Packaging in VMware ThinApp 4.7 Essentials
In this article by Peter Björk, authors of VMware ThinApp 4.7 Essentials, we will cover the packaging process. We'll discuss packaging's best practices the, packaging environment, entry points, the data container, and Package.ini.
Read Application Packaging in VMware ThinApp 4.7 Essentials in fullApplication, Session, and Request Scope in ColdFusion 9
In the previous article we had an introduction to the Application.cfc object and application variables. Next, we are going to discover the differences between application, session, and request scopes. We will learn how to share some information and how to protect the rest of the information in a controlled manner. In this article by John Farrar, author of ColdFusion 9 Developer Tutorial, we will have a look at the following topics:
- The special standard method events, which ColdFusion calls in the Application.cfc object.
- Custom tag paths and mapping settings inside the object—the two special functions of the Application.cfc object.
Applications of Physics
In this article by Jayme Schroeder and Brian Broyles the authors of AndEngine for Android Game Development Cookbook, we are going to see Physics-based games provide players with a unique type of experience not encountered in many other genres. This article covers the use of AndEngine's Box2D physics extension. Our recipes include:
-
Introduction to the Box2D physics extension
-
Understanding different body types
-
Creating category-filtered bodies
-
Creating multiple-fixture bodies
-
Creating unique bodies by specifying vertices
-
Using forces, velocities, and torque
Applying LINQ to Entities to a WCF Service
In this article by Mike Liu, the author of WCF 4.5 Multi-Layer Services Development with Entity Framework, we will learn how to update a product with LINQ to Entities in the data access layer. We will see how to apply changes of a client object to LINQ to Entities and leave all of the update work to LINQ to Entities, and will also see how to control the concurrency of updates with LINQ to Entities.
Read Applying LINQ to Entities to a WCF Service in fullApplying Special Effects in 3D Game Development with Microsoft Silverlight 3: Part 1
In this two part article series by Gastón C. Hillar, we will use advanced physics and add special effects to the scenes. We will learn to generate gravity effects, add fluids with movements, and use transitions to determine different states in a game.
By reading this article and following the exercises we will learn to:
- Add many background models, adding life to the game
- Control many independent backgrounds
- Simulate fluids with movement
- Work with multiple concurrent physics simulators
- Use advanced physics simulation to create waves
Applying Special Effects in 3D Game Development with Microsoft Silverlight 3: Part 2
Read Applying Special Effects in 3D Game Development with Microsoft Silverlight 3: Part 1 here.
Read Applying Special Effects in 3D Game Development with Microsoft Silverlight 3: Part 2 in fullArchiva in a Team: Part 1
This article by Maria Odea Ching and Brett Porter showcases the different techniques and ways for getting the best out of using an Archiva repository. We will learn a little bit about access control in Archiva, how to configure and use a virtual repository, and a whole lot about maintenance.
Read Archiva in a Team: Part 1 in full

