Article Network

All | June | May | April

Deployment of Reports with BIRT

by John Ward | January 2009 | Java Open Source

Deployment answers the need to have the generated reports reach the relevant user.In this article by John Ward, we are going to look at two different Deployment options available. We will look at the BIRT Viewer for J2EE that comes with the BIRT Runtime and is embedded into the BIRT Eclipse IDE, and we are also going to look at a basic Java application that implements the Report Engine API to run reports. We will also cover the command-line tools that come with the BIRT Runtime for executing reports.

Read Deployment of Reports with BIRT in full

SOA with Service Component Architecture and Enterprise Service Bus

by Binildas A. Christudas Malhar Barai Vincenzo Caselli | January 2009 | Java

In this article by Vincenzo Caselli, Binildas A. Christudas, and Malhar Barai, we will cover the following topics in SOA with Java:

  • Service Component Architecture (SCA)
  • Introduction to message-oriented middleware (MOM)
  • Enterprise Service Bus (ESB)—The new architecture style
  • Introduction to OpenESB
Read SOA with Service Component Architecture and Enterprise Service Bus in full

Java Data Objects and Service Data Objects in SOA

by Binildas A. Christudas Malhar Barai Vincenzo Caselli | January 2009 | Java

Every enterprise user is interested in information and every information starts from the basic building block, data. Data can reside in any data store, and can exist in many formats. Irrespective of that, you need to bring data to your table, do some massaging with your business use cases, and supply them as information. In this article by Vincenzo Caselli, Binildas A. Christudas, and Malhar Barai, we will see how Java Data Objects (JDO) can be used as an alternative to JDBC. We will also have a look at the Service Data Objects (SDO) in SOA.

Read Java Data Objects and Service Data Objects in SOA in full

SOA with Java Business Integration (part 1)

by Binildas A. Christudas | January 2009 | Java Open Source

Integration has been an area for specialists for years, since no standards exist across vendor products. This increases the Total Cost of Ownership (TCO) to implement and maintain any integration solution. Even though integration is a necessary evil, CIOs and IT managers postpone decisions and actions, and sometimes go for ad-hoc or temporary solutions. Any such activity will complicate the already confused stove pipes and it is the need of the hour to have standardization. Here we are going to inspect the need of another standard for business integration, and also look into the details of what this standard is all about.

In this article by Binildas C. A, we will look at:

  • Service oriented architecture in the context of integration
  • Relationship between web services and SOA
  • Service oriented integration
  • J2EE, JCA, and JBI—how they relate
  • Introduction to JBI
  • JBI Nomenclature—main components in JBI
Read SOA with Java Business Integration (part 1) in full

SOA with Java Business Integration (part 2)

by Binildas A. Christudas | January 2009 | Java Open Source

In Part 1, we saw that JBI is a great enabler for SOA because it defines ESB architecture. It provides for loosely coupled integration by separating out the providers and consumers to mediate through the bus.In this part of the article by Binildas C. A, we will look at the Provider—Consumer Contract and Message Exchange Patterns. We will also consider the different options provided.

Read SOA with Java Business Integration (part 2) in full

Testing a Save As Dialog in Java using Swing

by Lindsay Peters Tim Lavers | January 2009 | Java Open Source

In this article by Tim Lavers and Lindsay Peters, we will be studying in detail the test for an extremely simple user interface component. It will involve UI Wrappers for components as a way of safely and easily manipulating them in tests and specific techniques for reading the state of our user interfaces. Although the component that we'll be testing in this article is simple, it will still allow us to introduce a few specific techniques for testing Swing user interfaces. It will also provide us with an excellent opportunity for showing the basic infrastructure that needs to be built into these kinds of tests.

Read Testing a Save As Dialog in Java using Swing in full

Access Control in PHP5 CMS - Part 1

by Martin Brampton | January 2009 | MySQL Content Management Open Source PHP

Many websites will want to control who has access to what. Once embarked on this route, it turns out there are many situations where access control is appropriate, and they can easily become very complex. So in this two part article by Martin Brampton, we look at the most highly regarded model–role-based access control (RBAC)–and find ways to implement it. The aim is to achieve a flexible and efficient implementation that can be exploited by increasingly sophisticated software. To show what is going on, the example of a file repository extension is used.

Read Access Control in PHP5 CMS - Part 1 in full

Access Control in PHP5 CMS - Part 2

by Martin Brampton | January 2009 | MySQL Content Management Open Source PHP

In Part 1, we had a look at the Discussion and Considerations of highly flexible role-based access control system (RBAC). In this part of the article by Martin Brampton, we will look at the database implementation. Also we will discuss the code for administering RBAC, and consider in outline how questions about access can be answered.

Read Access Control in PHP5 CMS - Part 2 in full

Installation and basic features of EnterpriseDB

by Jayaram Krishnaswamy | January 2009 | MySQL PHP

Postgres is the well known and most used Open Source OLTP database available today. EnterpriseDB sits atop Postgres and leverages it to provide enterprise capabilities to Postgres users. EnterpriseDB is available for Windows platform as well. It has most of the necessary features of an enterprise class such as advanced development, monitoring, migration and administrative tools with a stable environment. It also has plug-in capabilities for Oracle. In the present form EnterpriseDB claims cost effectiveness versus Oracle and better scalability than MySQL. It can easily integrate with most applications such as Java, Ajax, Ruby, Drupal etc. This article by Dr. Jayaram Krishnaswamy mainly describes the installation of EnterpriseDB and the basic features to get started on this important database product.

Read Installation and basic features of EnterpriseDB in full

Binding Web Services in ESB—Web Services Gateway

by Binildas A. Christudas | January 2009 | BPEL SOA Web Services Java Open Source

Since SOI (Service Oriented Integration) is all about integrating multiple SOA-based systems, web services play a critical role in the integration space. This article is all about the importance of web services in integration. We will use the samples to illustrate how to bind web services with the ServiceMix ESB to facilitate integration.

In this article by Binildas A. Christudas, we will cover the following:

  • Web services and binding
  • Introduction to HTTP
  • ServiceMix's servicemix-http component
  • The consumer and provider roles for the ServiceMix JBI components
  • servicemix-http in the consumer and provider roles
  • Web service binding (Gateway) sample
Read Binding Web Services in ESB—Web Services Gateway in full

Find closest mashup plugin with Ruby on Rails

by Chang Sau Sheong | January 2009 | Open Source

In this article by Chang Sau Sheong we will explore the 'Find closest' mashup plugin and map a fleet of kiosks in an online map. This mashup plugin allows your Rails website or application to have an additional feature that allows your users to find the location of the closest facility from a particular geographic location based on a specified search radius. This mashup plugin integrates with your existing website that has a database of locations of the facilities.

Read Find closest mashup plugin with Ruby on Rails in full

Textures in Blender

by Allan Brito | January 2009 | Open Source Web Graphics & Video

In this article by Allan Brito, we will learn how to use textures to give our materials more realism. The biggest problem of working with textures is actually finding or creating a good texture. That's why, its highly recommended that you start as soon as possible to create your own texture library. Textures are mostly image files, which represent certain kinds of surfaces such as wood or stone. They work like wallpaper, which we can place on a surface or object. For instance, if we place an image of wood on a plane, it will give the impression that the plane is made of wood. That's the main principle of using textures. We will make an object look like something in the real world using a texture. For some projects, we may need a special kind of texture, which won't be found in a common library. So we will have to take a picture ourselves, or buy an image from someone. But don't worry, because often we deal with common surfaces that have common textures too.

Read Textures in Blender in full

Extending OpenCms: Developing a Custom Widget

by Dan Liliedahl | January 2009 | Content Management Java Open Source

There are a variety of user interface widgets available in OpenCms. The default widgets cover most user interface needs. But sometimes, a data field may need to be populated in some other way. OpenCms allows for custom widgets to be created and plugged into its architecture. In this article by Dan Liliedahl, we will design and create our own widget to illustrate this.

Read Extending OpenCms: Developing a Custom Widget in full

User Input Validation in Tapestry 5

by Alexander Kolesnikov | January 2009 | Content Management Java Open Source

One of the benefits of having a web application is that it can be very easily accessed by everyone around the world. One of the downsides of this is that when so many people use your application, they are going to have errors in their input. Some people are not attentive, others are tired and, finally, everyone in this world has his or her individual style of thinking, so something that seems obvious to the developers of the application might puzzle someone else.

A well-designed web application should immediately be able to define that the input is wrong and stop—otherwise all kinds of errors can happen inside of the application. If this application is user-friendly, it should:

  • Clearly and unambiguously inform the user that some part of the input is erroneous, and should be corrected.
  • Identify the field that is erroneous and mark it in some way.
  • If possible, display the erroneous value, and maybe even explain why exactly it is wrong.

In this article by Alexander Kolesnikov, we will see how Tapestry 5, being a highly efficient and user-friendly framework, handles these issues. For the purpose of this article we will use a Tapestry web application named Celebrity Collector.

Read User Input Validation in Tapestry 5 in full

Network Configuration—IPv6 with FreeBSD

by Babak Farrokhi | January 2009 | Open Source

Today, everyone knows that the internet is running out of IP addresses. In fact, the current infrastructure of the internet is running over legacy IP (aka IPv4) protocol that was not designed for such wide-spread and complicated use (for example, IPv4 was not designed to run in a refrigerator).

The original design of Internet Protocol (IPv4) is not efficient for today's networks. And even worse, we are running out of IPv4 addresses in a few years!

FreeBSD uses the IPv6 code from the KAME project. The KAME project (see www.kame.net) has been inactive since 2005, and FreeBSD developers have eversince maintained the IPv6 protocol stack.

In this article by Babak Farrokhi, we will look into the following:

  • IPv6 facts
  • Using IPv6
  • Routing IPv6
  • RIP6
  • Multicast routing
  • Tunnelling
Read Network Configuration—IPv6 with FreeBSD 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