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
In this article by Dave Newton we will learn how to modify the built-in themes and templates of Struts 2. We'll introduce a requirement to a recipe entry screen to have some different behavior when there is a validation error. The default behavior now is to change the style of the label and print the error message above the field. We'd like to highlight the entire row as a gentle reminder that our user has left out something important.Read Themes and Templates with Apache Struts 2 in full
This is the second part of two-part article by Vivek Thakur on N-Layer Architecture with ASP.NET 3.5. In the first part we saw the need for a 3-layered solution and examined ER-diagrams, domain models and UML. In this part we will we will explore a 1-tier 3-layer Architecture using a Domain Model and Object Data Source Controls.Read ER Diagrams, Domain Model, and N-Layer Architecture with ASP.NET 3.5 (part2) in full
In this article by Munwar Sharrif, you will learn about the basic features of creating, editing, and managing content in Alfresco by using Alfresco Explorer. With Alfresco, you can manage any type of document, such as HTML, text, XML, Microsoft Office documents, Adobe PDF, Flash, scanned images, multimedia, and video files. You will also understand the concepts of creating and using categories and smart spaces. By the end of this article, you will have also learned how to create spaces and load them with documents.Read Implementing Document Management in Alfresco 3- part1 in full
In this two-part article by Vivek Thakur, we will learn about ER Diagrams, Domain Model, and N-Layer Architecture with ASP.NET 3.5. The 1-tier 1-layer architecture is the default style in ASP.NET and Visual Studio 2005/2008. To overcome the limitations of this style, we can further break the application code into n-layers, where the number "n" actually depends on the project requirements.
In this article we will:
- Learn the 2-layer style
- Understand ER diagrams
- Understand what a domain model is, and what UML relationships are
- Learn the 3-layer style
- Learn about object data source controls
In the previous part of the article by Sami Salkosuo, we mainly focused on creating a dynamic user interface. In this part, we will implement Tables, List, and Field Completion.Read DWR Java AJAX User Interface: Basic Elements (Part 2) in full
In this two-part article by Sami Salkosuo, we will develop samples based on DWR, which show how to dynamically change the common user interface elements such as tables and lists as well as field completion. The section on dynamic user interfaces shows how to get started with a DWR application, and it presents a user interface skeleton that will be used to hold the tables and lists sample, and the field completion (aka. autosuggest/autocomplete) sample.
The following are the sections in this article:
- Creating a Dynamic User Interface—starts with creating a web project and a basis for samples mentioned in this article
- Implementing Tables and Lists—shows us how to use DWR with them
- Implementing Field Completion—has a sample for typical field completion
In this article by Ronald Rood, we will see how events that are generated by a job or a chain step can be intercepted to enable the monitoring of jobs. After that, we will see how we can use events to start a job that is waiting for an event.Read Events in Oracle 11g Database in full
The unsung heroes of every application are the simple things like buttons, menus, and toolbars. In this article by Shea Frederick, Steve 'Cutter' Blades, and Colin Ramsay, we will cover how to add these items to our applications.
Our example will contain a few different types of buttons, both with and without menus. A button can simply be an icon, or text, or both. Toolbars also have some mechanical elements such as spacers and dividers that can help to organize the buttons on your toolbars items.
We will also cover how to make these elements react to user interaction.Read Buttons, Menus, and Toolbars in Ext JS in full
From the very beginning, it was clear that Sakai needed to exist in universities at enormous scales, supporting hundreds of thousands of students. With requirements changing and evolving, and ever-increasing user expectations, Sakai had to be able to connect with a multitude of external systems. When Sakai was designed, the specifics of the majority of the connected systems were not knowable. To adapt to these tough circumstances, Sakai supplies web services that are easy to hook into or to write. Sakai exposes services for creating and maintaining users, sites, and groups. These services are easily extensible to include any part of the Sakai framework.
In this two-part article by Alan Mark Berg and Michael Korcuska, we will look at the two main types of web service, SOAP (Simple Object Access Protocol) and Representational State Transfer (REST) (http://microformats.org/wiki/rest). We will cover already-existing web services and describe how to hook into them. If you follow the examples, you will be able to write and deploy your first service. Lastly, this article includes a few simple client-side Perl scripts that create new users using both the SOAP and RESTful approaches.Read Sakai Web Services: Connecting to the Enterprise (Part 1) in full
In the previous part of the article by Alan Mark Berg and Michael Korcuska, we saw how web browsers talk to servers using Protocols and we had a look the currently available web services. In this part, we will create our first web service, first client and then discuss about Entity Broker.Read Sakai Web Services: Connecting to the Enterprise (Part 2) in full
In this article by Richard Carter, we will learn social bookmarking.
Social bookmarking allows people to "bookmark", or make a note of, the websites they like or find useful, and share these bookmarks with other social bookmarkers while surfing the Internet.Read Social Bookmarking - MediaWiki in full
This is the second part of a two-part article series by Dave Newton on documentation of Java applications. In the first part we covered self-documenting code, the use of Contract-oriented programming in documenting applications, and ways of generating targeted Javadocs. In this part of the article, Dave focuses on documenting web applications.Read Documenting our Application in Apache Struts 2 (part 2) in full
In this article by Mayank Sharma, you will learn how to install and configure the fully functional Openfire server environment for both Windows and Linux.
Here, you will learn about:
- Pre-requisites for Openfire installation
- Installing and running Openfire on Linux/Unix
- Installing and running Openfire on Windows
- Installing Instant Messaging clients