 |
 |
 |
 |
 |
 |
Developing with Apache Derby -- Hitting the Trifecta: Introduction to Apache Derby
At some point, almost every application developer confronts the need to save data. With the growth of Internet- or Web-enabled applications, this need has become even more acute. This installment of the regular column "Developing with Apache Derby -- Hitting the Trifecta" introduces Apache Derby -- an open source, standards-based, small-footprint Java database system -- compares it to other database systems, and discusses issues related to downloading and installing it. By the end of this article, you'll be ready to start developing database applications using Derby.
|
 |
Articles |
 |
14 Feb 2006 |
|
| |
Improve persistence with Apache Derby and iBATIS, Part 2: Data definition in Derby
In this second tutorial of a three-part series, learn more about how you can improve persistence in your database-driven Java applications by combining Apache Derby's power as a small-footprint embeddable database with the iBATIS object-relational (OR) mapping framework. In Part 2, you use iBATIS's Data Access Objects (DAO) and Data Mapper to access an application's underlying data structure effectively.
|
 |
Tutorials |
 |
21 Feb 2006 |
|
| |
Developing with Apache Derby -- Hitting the Trifecta: Database development with Apache Derby, Part 1
Ready to start using Apache Derby? This multi-part series featured in the "Developing with Apache Derby: Hitting the Trifecta" column will get you up and running with the Derby database in no time. This first installment introduces the basic concepts of relational databases with an emphasis on how these topics relate to the Derby database. You'll learn about the ACID test, demonstrated with a simple example, and the ij tool, which you can use to interactively connect to and query an Apache Derby database. Then the rest of this series will help you become a master at working with Apache Derby.
|
 |
Articles |
 |
28 Mar 2006 |
|
| |
Improve persistence with Apache Derby and iBATIS, Part 3: Transactions, caching, and dynamic SQL
This tutorial series has been demonstrating how you can improve persistence in your database-driven Java applications by combining Apache Derby's power as a small-footprint embeddable database with the iBATIS object-relational (OR) mapping framework. In Part 3, the final in the series, learn how iBATIS handles three advanced features of database-driven applications: transactions, caching, and dynamic SQL. Plus, find out how the Data Access Objects (DAO) framework can operate on its own without the Data Mapper framework.
|
 |
Tutorials |
 |
07 Mar 2006 |
|
| |
Developing with Apache Derby -- Hitting the Trifecta: Database development with Apache Derby, Part 4
The Apache Derby software provides a powerful, open source database that can be used as a persistent store for a wide range of database applications. One of the main reasons for this popularity is Apache Derby's query support, which lets you selectively extract columns from specific rows across one or more tables that satisfy some Boolean condition. Learn about Apache Derby's query capabilities and how to use the SELECT statement to perform complex queries.
|
 |
Articles |
 |
06 Jun 2006 |
|
| |
Developing with Apache Derby -- Hitting the Trifecta: Database development with Apache Derby, Part 3
Learn how to create a self-documenting SQL command file, which you can execute as often as necessary, by placing SQL commands in a text file along with useful comments. After introducing the basic principles of a SQL script file, this article presents three ways to execute a script file. Then you'll review the fundamentals of inserting data into a table using the SQL INSERT statement, including seeing examples that insert ten new rows in different ways. Finally, the article presents a script that automates this INSERT operation and displays the newly inserted data for validation.
|
 |
Articles |
 |
12 May 2006 |
|
| |
Use Apache Derby in your OpenLaszlo applications, Part 2: Storing and embedding data
Since OpenLaszlo's open source announcement, many developers have been using OpenLaszlo to create user-friendly rich Internet applications. Many of these applications require a database solution to have dynamic data fed to them. Because OpenLaszlo runs on Apache Tomcat by default, which supports JavaServer Pages (JSP) and servlets (Java), Apache Derby is an excellent database to use because it can be embedded in such applications and because Derby is written in pure Java code. In this tutorial, you'll build a management interface to the online shopping console created in Part 1. You'll also allow orders to be written to the database and enable management to edit, delete, and add new items to the database via the OpenLaszlo user interface (UI).
|
 |
Tutorials |
 |
25 Apr 2006 |
|
| |
Developing with Apache Derby -- Hitting the Trifecta: Database development with Apache Derby, Part 2
Learn about several basic database concepts, including schemas, tables, and column data types, and get a simple introduction to Structured Query Language (SQL). This article -- focusing on the database developer role -- presents the basic data types you can use to store data in an Apache Derby database, and then you'll use them to create a simple schema with two tables in Apache Derby for a fictitious store. To view the schema contents of a database, you'll use the Apache Derby tool, dblook, to dump the contents of the database. The article wraps up with a brief discussion on dropping tables.
|
 |
Articles |
 |
18 Apr 2006 |
|
| |
Use Apache Derby in your OpenLaszlo applications, Part 1: Supplying data using Derby
Since OpenLaszlo's open source announcement, many developers have been using OpenLaszlo to create user-friendly, rich Internet applications. Many of these applications require a database solution to have dynamic data fed to them. Because OpenLaszlo runs on Apache Tomcat by default, which in turn supports JavaServer Pages (JSP) and servlets (Java technology), Apache Derby is an excellent database to use. It can be embedded in such applications, and Derby is written in pure Java code. This tutorial uses an example of an online grocery store to illustrate the power of using OpenLaszlo with Apache Derby.
|
 |
Tutorials |
 |
21 Mar 2006 |
|
| |
Design and implement POJO Web services using Spring and Apache
CXF, Part 2: Create a RESTful Web service
Create a RESTful Web service, which is defined as a
Spring bean, using Apache CXF,
an open source Web service framework. This article explores the features and benefits of using the
Representational State Transfer (REST) architecture and illustrates the use of the REST API in CXF to easily
develop a RESTful service.
|
 |
Articles |
 |
25 Sep 2008 |
|
| |
Design and implement POJO Web services using Spring and Apache
CXF, Part 1: Introduction to Web services creation using CXF and Spring
Create a plain old Java object (POJO)-style Web service easily using Apache CXF, an open source Web service
framework. This article, Part 1 of a series,
shows you how to expose POJOs as Web services
using Spring and CXF. It also illustrates CXF integration with the Spring Framework.
|
 |
Articles |
 |
24 Jul 2008 |
|
| |
Search smarter with Apache Solr, Part 2: Solr for the enterprise
Lucene Java committer Grant Ingersoll rounds out his introduction to Solr with a survey of its features for the enterprise, including administration interfaces, advanced configuration options, and performance features such as caching, replication, and logging.
|
 |
Articles |
 |
05 Jun 2007 |
|
| |
Search smarter with Apache Solr, Part 1: Essential features and the Solr schema
Solr is an enterprise-ready, Lucene-based search server
that supports faceted searching, hit highlighting, and multiple output
formats. In this two-part article, Lucene Java committer Grant Ingersoll
introduces Solr and shows you how to easily incorporate its impressive full-text search functionality into your Web applications.
|
 |
Articles |
 |
29 May 2007 |
|
| |
Apache Derby resources from the Web services perspective, Part 3: Manage Apache Derby using Web Services Distributed Management
So far in this three-part tutorial series about the concept of WS-resources and the Web Services Resource Framework (WSRF), you've created a Person resource and learned how to use WS-Notifications with it. This final installment shows you how to look at WS-Resources from a different perspective -- that of a tangible item rather than a set of information. You'll create a Web service to control the Apache Derby database you've been using throughout this project as well as the client that treats Derby as a WS-Resource.
|
 |
Tutorials |
 |
23 Mar 2007 |
|
| |
Developing with Apache Derby -- Hitting the trifecta: Java database development with Apache Derby, Part 2
Get a thorough overview on how to issue a simple database query against an Apache Derby database and how to process the selected results. Doing so requires the introduction of three new JDBC classes: Statement, ResultSet, and ResultSetMetaData. Learn how to use these classes with a JDBC database connection to quickly and easily extract data from an Apache Derby database into your own Java application.
|
 |
Articles |
 |
30 Jan 2007 |
|
| |
Build an Ajax application using Google Web Toolkit, Apache Derby, and Eclipse, Part 2: The reliable back end
In this second article in the series on using the Google Web Toolkit (GWT) to build Asynchronous JavaScript + XML (Ajax) applications, learn how to build the Apache Derby database for your Web application, and use it to drive the GWT. Part 1 of this
series introduced you to GWT and demonstrated how you can use it to create a rich-client front end
for a Web application. This time, you'll go behind the scenes and learn about setting up the
back end with your database and the code used to convert the data to a format that
GWT can use. By the end of this article, you'll be ready for the front end and back end
to talk to each other.
|
 |
Articles |
 |
23 Jan 2007 |
|
| |
Real-world Apache Derby: Who needs Ajax, anyway?
Asynchronous JavaScript + XML (Ajax) is a dynamite technique for greatly enhancing the user experience on the Web. But it pays to remember that it's only necessary because of the distance between the information source and the browser. Shorten that distance, and much of the need for Ajax goes away. This tutorial -- the second in this series on Apache Derby database use -- offers an alternate technique, one that allows reuse across several different environments.
|
 |
Tutorials |
 |
19 Dec 2006 |
|
| |
Developing with Apache Derby -- Hitting the Trifecta: Java database development with Apache Derby, Part 1
Climb aboard! This article begins your journey of writing Java applications that work with the Apache Derby database. Learn how to connect to an embedded Derby database by using a Derby embedded Java Database Connectivity (JDBC) driver. Plus find out about database metadata and how to properly handle SQL errors and warnings in your Java application that may be generated by Derby.
|
 |
Articles |
 |
12 Dec 2006 |
|
| |
Build an Ajax application using Google Web Toolkit, Apache Derby, and Eclipse, Part 1: The fancy front end
Google Web Toolkit (GWT) is a major step forward in the creation of dynamic JavaScript applications that run in users' Web browsers. Using GWT, developers can design the user interface (UI) and event model using familiar Java techniques while GWT does the hard work of making the code friendly for all the major browsers. Learn the basics of GWT in this first article in a series, including how GWT lets you create an Asynchronous JavaScript + XML (Ajax) application and still write your code in the Java language. Discover how to create and run a small sample GWT application -- a hot new Web 2.0 business called Slicr, which sells pizza online.
|
 |
Articles |
 |
05 Dec 2006 |
|
| |
Using Apache Derby databases, Part 2: Manage IT services beyond mere deployment
Rolling out increasingly advanced software offerings and the demands of more technically savvy users exacerbate the problem of IT service provision. Simply deploying software, like Apache Derby databases, and hoping for resiliency is no longer sufficient. Management needs to be automated. In this article -- the second in a two-part series -- find out how IBM autonomic computing technology, particularly the IBM Autonomic Integrated Development Environment (AIDE) toolkit, may be an effective solution. Learn how you can use this technology with Apache Derby to create the basis of a converged provider environment.
|
 |
Articles |
 |
14 Nov 2006 |
|
| |
Improve persistence with Apache Derby and iBATIS, Part 1: Initial configuration, semantics, and a simple test
The iBATIS database-mapping framework -- a popular Java framework for object-relational (OR) mapping -- is now an Apache open source project. This tutorial is the first in a three-part series demonstrating how to combine Apache Derby's power as a small-footprint embeddable database with iBATIS and use this combination to improve persistence in your database-driven Java applications. In Part 1, you learn about iBATIS's advantages as a persistence mechanism and focus on the iBATIS Data Mapper framework.
|
 |
Tutorials |
 |
24 Jan 2006 |
|
| |
Developing with Apache Derby -- Hitting the Trifecta: Database development with Apache Derby, Part 7
With this article you've reached an important point in mastering fundamental database concepts as they relate to the Apache Derby database. This article reviews how to modify an SQL query to group related rows together to provide summary statistics database information. Then it introduces the concept of a view, which can be used to simplify database application development by creating a virtual table that represents the results of an SQL query. Finally, you'll learn about database indexes, which you can use to locate specific table rows. After you've mastered these advanced database concepts, you'll be well positioned to begin developing Java database applications with Apache Derby.
|
 |
Articles |
 |
07 Nov 2006 |
|
| |
Using Apache Derby databases, Part 1: Managed objects in a converged provider environment
This two-part series addresses the importance of the automated management of Apache Derby databases using (as an example) IBM autonomic computing touchpoint technology and Web Services Distributed Management (WSDM). This article, Part 1, introduces the growing need for automated IT management, which is facilitated by the centralization and consolidation of applications, data centers, and front- and back-office functions. Discover how you can use Derby as a managed element, including working with the database's unified utilization and management requirements and how using FCAPS can help you design an IT management solution.
|
 |
Articles |
 |
31 Oct 2006 |
|
| |
Apache Derby resources from the Web services perspective, Part 2: Producing and consuming WS-Notifications with Derby
Continue on your mission to make your resources service-oriented architecture (SOA)-friendly. Part 1 of this three-part tutorial series showed you how to use WS-Resources to refer to Apache Derby data and structures from within the inherently stateless environment of Web services. Exposing a database entity through a Web service resource helps you easily provide state and database information through the standardized Web Services Resource Framework (WSRF). But how do you monitor the resource to check for changes? WS-Notification standard Web services. This installment, Part 2, walks you through producing and consuming Web services notifications with Apache Derby and teaches you about WS-Notification, which provides another standardized interface for the monitoring and examination of a Web service.
|
 |
Tutorials |
 |
17 Oct 2006 |
|
| |
Apache Derby resources from the Web services perspective, Part 1: Derby data as WS-Resources
As the world moves in the direction of service-oriented architecture (SOA), it becomes crucial that all of your resources are SOA friendly. That may mean they produce services, that they consume services, or that they are services. This three-part tutorial series looks at Apache Derby from the perspective of making it Web services-aware. Web services are stateless, but most applications are not. This tutorial, Part 1, shows you how to use WS-Resources to refer to Derby data and structures from within the inherently stateless environment of Web services.
|
 |
Tutorials |
 |
03 Oct 2006 |
|
| |
Real-world Apache Derby, Part 1: Apache Derby and OpenOffice.org Calc
Apache Derby signals a sea change in both desktop and Web-based applications. For the first time, that elusive target for developers -- complete data portability -- is easily attainable. This tutorial, the first in a series, shows how you can use Derby as a data store to overcome row-length limitations in OpenOffice.org's Calc and use that program's interface for data analysis while leaving the storage to Derby.
|
 |
Tutorials |
 |
26 Sep 2006 |
|
| |
Developing with Apache Derby -- Hitting the Trifecta: Database development with Apache Derby, Part 6
Along with creating a database schema and populating tables with data, being able to selectively modify data is one of the most important skills necessary for a database developer. This article teaches you how to selectively delete or update data in an existing table and how to modify the structure of an existing table. To perform data modifications on a more complex database schema, you'll learn about embedded subqueries, both scalar and table, with data update and data insert operations. You'll also find out how to delete and modify data in complex schemas using the Apache Derby database.
|
 |
Articles |
 |
15 Aug 2006 |
|
| |
Developing with Apache Derby -- Hitting the Trifecta: Database development with Apache Derby, Part 5
The SQL SELECT statement lets you perform queries against an Apache Derby database to select data from multiple tables where certain conditions are valid. This article builds on previous articles in this series to develop even more powerful SELECT statements. Learn how to use the ORDER BY clause and DISTINCT keywords to modify the rows of data selected by a query; how to include basic mathematical operators in a query; and how to work with the primary built-in SQL functions to convert data from one data type to another, to compute aggregate quantities, to perform mathematical operations, to work with date and time data, and to work with character strings.
|
 |
Articles |
 |
11 Jul 2006 |
|
| |
Developing with Apache Derby -- Hitting the Trifecta: Java database development with Apache Derby, Part 4
Learn about SQL cursors and how you can use them to perform dynamic data
modification in an Apache Derby database. You can use SQL cursors both explicitly by
using the ij tool or implicitly by calling the appropriate Java methods. By
mastering this functionality, you can write Java applications that can selectively
modify data for your business applications.
|
 |
Articles |
 |
17 Apr 2007 |
|
| |
Using Apache Pivot to build an iTunes search client
Apache Pivot is an open source platform for building rich internet applications (RIAs) in a Java environment. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform. Apache Pivot applications take advantage of WTKX, an XML-based language for user interface design, which makes the application's output easy to visualize. In this tutorial, you will follow the implementation of a simple but practical Pivot application that allows a user to execute searches against the contents of the iTunes Store.
|
 |
Tutorial |
 |
13 Oct 2009 |
|
| |
Introducing Apache Mahout
Once the exclusive domain of academics and corporations with large research budgets, intelligent applications that learn from data and user input are becoming more common. The need for machine-learning techniques like clustering, collaborative filtering, and categorization has never been greater, be it for finding commonalities among large groups of people or automatically tagging large volumes of Web content. The Apache Mahout project aims to make building intelligent applications easier and faster. Mahout co-founder Grant Ingersoll introduces the basic concepts of machine learning and then demonstrates how to use Mahout to cluster documents, make recommendations, and organize content.
|
 |
Articles |
 |
08 Sep 2009 |
|
| |
Introduction to Apache Derby
Get the basic skills you need to use Apache Derby in Java 2 Platform, Enterprise Edition (J2EE) environments where Derby is embedded as a database, such as in Apache Geronimo. This tutorial demonstrates how to embed Derby within Geronimo and how to use Derby and Geronimo to deploy a Web-based e-commerce application. It also helps you become familiar with Derby's system tools, a set of utilities that make application development with Derby easy and straightforward.
|
 |
Tutorials |
 |
20 Dec 2005 |
|
| |
Deploy J2EE applications on Apache Geronimo
Learn how to deploy JavaServer Pages (JSPs), servlets, and different Enterprise JavaBeans (EJBs) on Apache Geronimo. This article includes the deployment steps required for Apache Geronimo, which are different from other Java 2 Platform, Enterprise Edition (J2EE) containers.
|
 |
Articles |
 |
03 Jan 2006 |
|
| |
Storing Java objects in Apache Directory Server, Part 1
This two-part article walks you through all the steps of storing Java objects in Apache Directory Server (ApacheDS). In this first half, author Bilal Siddiqui introduces you to ApacheDS and provides an overview of its core architecture. Because you primarily use ApacheDS as an LDAP server for storing Java objects, Bilal offers a quick overview of LDAP concepts and terminology. He also shows you how to use JXplorer to view LDAP schema components, such as attribute types and object classes, and how to enter a data object in ApacheDS. The article wraps up with an overview of Java object serialization and Remote Method Invocation as they apply to storing Java objects in ApacheDS, in preparation for the more hands-on approach in Part 2.
|
 |
Articles |
 |
02 May 2006 |
|
| |
Test WebSphere performance with Apache JMeter
If you're on a tight budget and short on time -- or even if you're
not -- you might want to consider using Apache JMeter to stress-test your Web and other
applications. IBM's Greg Herringer details his experience using this pure Java app to test a WebSphere middleware solution.
|
 |
Articles |
 |
27 May 2004 |
|
| |
Create, deploy, and debug Apache Geronimo applications
The Eclipse project has been providing a high-quality and extensible integrated development environment to the open source community for several years now. Get a head start in using the new Eclipse plug-in to develop and deploy Web applications to the Apache Geromimo server. IBM Senior Technical Staff Member Tim Francis walks you through the details.
|
 |
Articles |
 |
10 May 2005 |
|
| |
Java postmortem diagnostics, Part 1: Introduction to JSR 326 and Apache Kato
The artifacts produced when your Java application fails can
help you analyse the root causes of the failure. A standard API to facilitate
postmortem analysis is being developed by the Java Community process, and the Apache Kato project is under way to produce a reference implementation and tools for this API. This article, the first in a two-part series, introduces the Post mortem JVM Diagnostics API (JSR 326) and summarises the ways Kato will help you make good use of it. Part 2 will explore postmortem-diagnosis scenarios in greater depth.
|
 |
Articles |
 |
05 May 2009 |
|
| |
What's new with Apache Solr
Leverage Apache Solr's many new enhancements to add best-in-breed capabilities to your application.
|
 |
Articles |
 |
04 Nov 2008 |
|
| |
OSGi and Spring, Part 1: Build and deploy OSGi bundles using Apache Felix
Develop, build, and package Java class components as Open Services
Gateway initiative (OSGi) bundles and deploy them in the Apache Felix runtime
environment. Then use Felix shell commands to start and stop the bundles and
dynamically update them.
|
 |
Articles |
 |
30 Oct 2008 |
|
| |
Offline Ajax with Apache Derby
People love Ajax applications so much that they are willing to use them instead
of their desktop equivalents. The only problem occurs when they fail to have network
access. This is when an offline feature is necessary. Apache Derby is a great option
for enabling offline access to Ajax-powered applications. Learn how to use Apache Derby
as a local data store that can be used to take your Ajax application offline.
|
 |
Articles |
 |
23 Sep 2008 |
|
| |
Rapid prototyping with Apache Derby and JRuby on Rails
Ruby on Rails has raised the bar in terms of rapid development of data-driven
Web sites. The JRuby project is making Ruby faster and more scalable than ever. One of
the great advantages to running Rails on the Java Virtual Machine is that you can
leverage other Java libraries, like the Apache Derby embedded database. The combination
of Derby, JRuby, and Rails allows for rapid prototyping of dynamic Web applications. Learn how to use these technologies together to help you prototype your next great idea.
|
 |
Articles |
 |
26 Aug 2008 |
|
| |
Give Apache Geronimo a Lift
Lift is a new Web application framework. It is a highly scalable framework built
on the Scala programming language. It is the perfect partner for a highly scalable
application server, such as Apache Geronimo, especially since Scala compiles to byte
code just like the Java language and leverages the Java platform. In this article, you
will learn how to create a Web application using Lift and deploy it to Geronimo.
|
 |
Articles |
 |
22 Jul 2008 |
|
| |
Apache Geronimo on Grails
Do you want to build your Web sites faster and cheaper, but still leverage
industrial-strength technology? You can do just that using Grails and Apache Geronimo.
Grails leverages the power of the dynamic language Groovy to accelerate your
development. However, it runs on the Java Virtual Machine and leverages proven Java
technologies. This makes it easy to take your Grails application to the next level by
deploying it to Apache Geronimo, the premiere open source Java EE V5-certified
application server. In this article, you will see how easy Grails can make Web
development and how easy Geronimo can make Grails deployment. You will also see how a
Grails application can leverage the resources and services provided by Geronimo.
|
 |
Articles |
 |
08 Jul 2008 |
|
| |
Run PHP applications in Apache Geronimo
PHP has been a popular scripting language for some time. However, with the growing buzz over Java technology and Apache Geronimo, a J2EE-certified application server, many experienced developers shy away from using PHP with Geronimo, because only JavaServer Pages (JSP) is supported out of the box. The PHP Java Bridge solves this problem by providing full support for PHP on Geronimo and for sharing sessions across both PHP and JSP scripts.
|
 |
Tutorials |
 |
07 Feb 2006 |
|
| |
Persist arbitrary data to Apache Derby
You can quickly and easily persist simple data to Apache Derby by taking advantage of Java dynamic proxies. In this tutorial, write a persistence API that you can integrate into any database-powered Java application. You use the API to store an application's configuration information and to notify the application when configuration items change.
|
 |
Tutorials |
 |
31 Jan 2006 |
|
| |
Mock Web services with Apache Synapse to develop and test Web services
Apache Synapse is a simple, lightweight, high-performance enterprise service
bus (ESB) released under the Apache License, Version 2.0 from the Apache Software
Foundation. Using Apache Synapse, you can filter, transform, route, manipulate, and
monitor SOAP, binary, XML, and plain text messages that pass through your
large-scale enterprise systems by HTTP, HTTPS, Java Message Service (JMS), Simple
Mail Transfer Protocol (SMTP), Post Office Protocol Version 3 (POP3), FTP, file
systems, and many other transport mediums. But for an individual developer, what's
the use of an ESB product in your day-to-day life? The simplicity of the
configuration, out-of-the-box feature set, extensible architecture, and the minimal
footprint makes it a versatile and powerful tool that you can use for a variety of
tasks. This article examines how you can use Apache Synapse to create mock Web
services.
|
 |
Tutorials |
 |
01 May 2008 |
|
| |
Install Apache Geronimo v1.x on Linux
See how easy it is to install Apache Geronimo in a Linux environment. This demo shows how to install Apache Geronimo v1.x, an open source application server available from the Apache Software Foundation, in a Linux x86 environment for use by multiple developers.
|
 |
Demos |
 |
16 Apr 2008 |
|
| |
Enterprise search with PHP and Apache Solr
Discover how to combine an enterprise-worthy search engine -- Apache Software
Foundation's Solr -- with your PHP application.
|
 |
Articles |
 |
15 Jan 2008 |
|
| |
Using the Eclipse SOA Tools Platform plug-in and Apache Tuscany
The Eclipse SOA Tools Platform (STP) plug-in and Apache Tuscany simplifies
services development through the use of the popular Eclipse development
environment. Apache Tuscany has also been integrated with the STP to provide a
Service Component Architecture (SCA) Java run time for the services you create,
allowing you to annotate your service using the SCA standard and Apache Tuscany
annotations. In this tutorial, you will see STP and Apache Tuscany in action, through the
creation of a Remote Method Invocation (RMI) service.
|
 |
Tutorials |
 |
27 Nov 2007 |
|
| |
Sign and verify XML documents using Apache WSS4J and WebSphere DataPower SOA
Appliances
With the increasing adoption of Web services and Service-Oriented
Architectures (SOAs), ensuring the authenticity, integrity, and nonrepudiability of
XML messages has become an essential component of secure and robust messaging
infrastructures. Using a sample scenario, this article walks you through how to use
Apache WSS4J and IBM WebSphere DataPower SOA Appliances together to enable the
signing and verification of XML documents.
|
 |
Articles |
 |
01 Nov 2007 |
|
| |
Apache Lucene quick-start guide
Apache Lucene is a robust open source search solution for myriad
applications, including your own favorite Web sites or your company's intranet.
Apache Lucene will go out and grab and index pages you specify, allowing you to
search them at will. It also comprises several add-on applications, or subprojects,
including the Apache Solr Enterprise search server. In this tutorial, you'll learn
how to use Apache Solr and integrate it with a Web application.
|
 |
Tutorials |
 |
30 Oct 2007 |
|
| |
The buzz about Apache Beehive
Beehive is a new Apache project that simplifies Java 2 Platform, Enterprise
Edition (J2EE) and Web services programming. This article shows how to get started with
Beehive and offers a sneak preview of Pollinate, an Eclipse plug-in that creates
Beehive applications.
|
 |
Articles |
 |
19 Apr 2005 |
|
| |
Inside the Apache directory structure
This free tutorial introduces the Apache administrator to the directory layouts used for a given installation. With this knowledge, administrators can then easily locate Apache's executable and utility files, and determine what's necessary for custom configuration.
|
 |
Tutorials |
 |
29 Mar 2001 |
|
| |
Using Apache Lucene to search text
In this article, learn about Apache Lucene, the high-performance, full-featured
text search-engine library. Explore the Lucene
architecture and its core APIs. Learn to use Lucene for cross-platform full-text searching, indexing, displaying results, and extending a search.
|
 |
Articles |
 |
18 Aug 2009 |
|
| |
High-availability middleware on Linux, Part 1: Heartbeat and Apache Web server
In this first of five articles, learn what it means for software to be highly available and how to install and set up heartbeat software from the High-Availability Linux project on a two-node system. You'll also learn how to configure the Apache Web server to run as a highly available service.
|
 |
Articles |
 |
12 Oct 2004 |
|
| |
Create an asynchronous message framework with Ajax and Apache Geronimo
Combine Apache Geronimo with an Asynchronous
JavaScript + XML (Ajax) user interface (UI), an asynchronous messaging system, and loosely coupled business services
to build a responsive, enterprise-grade Web application framework.
|
 |
Articles |
 |
19 Jun 2007 |
|
| |
Turn your existing systems into an SOA platform using Apache Synapse
If you're planning to transform your existing middleware into a
Service-Oriented Architecture (SOA) platform, consider using Apache Synapse. This
easy-to-use open source alternative to proprietary Enterprise Service Buses (ESBs) costs less and requires less effort. This
article gives you a thorough introduction to Apache Synapse and provides a use case
to demonstrate how you can integrate and reuse existing applications using an SOA
approach.
|
 |
Articles |
 |
14 Jun 2007 |
|
| |
Tuning LAMP systems, Part 2: Optimizing Apache and PHP
Applications using the LAMP (Linux, Apache, MySQL, PHP/Perl) architecture
are constantly being developed and deployed. But often the server administrator has
little control over the application itself because it's written by someone else.
This series of three articles discusses many of the server configuration items that
can make or break an application's performance. This second article focuses on steps
you can take to optimize Apache and PHP.
|
 |
Articles |
 |
30 Apr 2007 |
|
| |
Develop and deploy Apache Pluto portal applications on Apache Geronimo
Even though preintegrated portal server support is missing from Apache Geronimo's feature set, you can still use Geronimo as a testing and deployment environment for portal applications. This article takes you step by step through deployment of the Apache Pluto driver and container in Geronimo to give you a 100% open source environment for your portal applications. Then learn how to develop, deploy, and test a sample portal application in Pluto and Geronimo.
|
 |
Articles |
 |
10 Apr 2007 |
|
| |
Apache Geronimo project resources
Find complete listings of the articles, tutorials, project info, and
news you need to stay up-to-date on developing with Apache Geronimo
projects.
|
 |
|
 |
30 Aug 2007 |
|
| |
Tip: Configure Apache to send the right MIME type for XHTML
This tip shows you how to configure Apache to tag Extensible Hypertext Markup Language (XHTML) documents with the media type application/xhtml+xml for browsers that support it, while still sending text/html to nonconformant browsers such as Microsoft Internet Explorer.
|
 |
Articles |
 |
06 Mar 2007 |
|
| |
Two ways to build Apache Derby database applications in JRuby
JRuby is an implementation of the Ruby programming language that runs in the Java Virtual Machine (JVM). This tutorial demonstrates how to install and configure JRuby to connect to the Apache Derby database. As Ruby and Ruby on Rails become more popular, JRuby becomes an interesting technology to leverage the portability, security, and class libraries of the JVM while using Ruby features like simple syntax and closures. If you're writing a small application that needs a relational database, or you want to be able to ship a database with your product, then the Derby database is an excellent choice for a persistence mechanism. This tutorial shows you two methods of connecting to and building Derby database applications from JRuby.
|
 |
Tutorials |
 |
30 Jan 2007 |
|
| |
Use Apache Derby to develop Eclipse plug-ins
Get a demonstration on how to use resource indexing with the Apache Derby database to develop Eclipse plug-ins. The Derby database embedded in Eclipse allows you to create an SQL database on the client side with no security issues or network problems, such as an unstable connection or high latency. An SQL database and the JDBC API provide an easy way to store information and quickly search previously stored data.
|
 |
Articles |
 |
16 Jan 2007 |
|
| |
Introduction to Apache Maven 2
Modern software projects are no longer solely monolithic creations of single local project teams. With the increased availability of robust, enterprise-grade open source components, today's software projects require dynamic collaboration among project teams and often depend on a mix of globally created and maintained components. Now in its second generation, the Apache Maven build tool -- unlike legacy build tools created before the Internet-enabled era of global software development -- was designed from the ground up to take on these modern challenges. This tutorial gets you started with Maven 2.
|
 |
Tutorials |
 |
19 Dec 2006 |
|
| |
Getting to know the Atom Publishing Protocol, Part 3: Introducing the Apache Abdera project
Earlier articles in this series provided an overview of the Atom Publishing Protocol and described the various ways it is being utilized in real world applications. This article begins to demonstrate how you can start to implement Atom-enabled applications using a new open-source project, called Abdera, currently under incubation at the Apache Software Foundation.
|
 |
Articles |
 |
12 Dec 2006 |
|
| |
Get started with an open source CMS, Part 4: Create an Apache Derby JDBC store adapter
In this tutorial, Part 4 of a developerWorks series, find out how to create a custom store for Jakarta Slide that uses Apache Derby. Build a new database adapter to use Derby as the content and metadata store for Slide using Java Database Connectivity (JDBC), and learn how to handle problems, such as SQL syntax errors and INSERT trigger issues.
|
 |
Tutorials |
 |
10 Jan 2006 |
|
| |
Improve LAMP security with Apache Proxy's directive (mod_proxy)
In this article, Nick Maynard outlines a method for you to improve the security of a LAMP setup by using Apache's mod_proxy module. This article is specific to Linux; however, you can also apply some of the principles to other operating systems.
|
 |
Articles |
 |
29 Nov 2006 |
|
| |
Develop an application with Apache Derby, Apache MyFaces, and Facelets
Learn how to develop a JavaServer Faces (JSF) application using Apache Derby, Apache MyFaces, and Facelets. The ready-to-download sample application in this article uses a Model-View-Controller (MVC) architecture to illustrate the power of the MyFaces components and the ease of developing with Apache Derby and the latest view technology, Facelets.
|
 |
Articles |
 |
24 Oct 2006 |
|
| |
Get a head start with JDBC 4.0 using Apache Derby
At the time of this writing, the Java Database Connectivity (JDBC) 4.0 specification is expected to be released from beta testing. It offers developers several enhancements to speed development and create a more object-oriented paradigm with regard to accessing and manipulating data stores. This specification relies heavily on existing technologies, such as Generics, the Metadata Facility, and JDBC RowSet. This tutorial demonstrates some of the new functions of the JDBC 4.0 specification in conjunction with the Apache Derby database.
|
 |
Tutorials |
 |
29 Aug 2006 |
|
| |
Configureless J2EE development with Stripes, Apache Derby, and Eclipse
In the search for more portable and lightweight enterprise solutions,
Java 2 Platform, Enterprise Edition (J2EE) developers can leverage both Stripes and
Apache Derby for rapid, lightweight, J2EE development. Learn how to develop, package, and
deploy a simple Stripes application that performs Create, Retrieve, Update, and Delete (CRUD)
operations on a Derby database.
|
 |
Tutorials |
 |
22 Aug 2006 |
|
| |
Back to basics: Scripting Apache Derby's ij tool
Everybody's building Web applications these days. But what if you just want a little bit of data? Do you really need to go to the trouble of creating a whole application? Doesn't Derby provide a tool for that? Well, of course it does. Derby's main command line tool, ij, is designed for just that: manipulating and retrieving the data in the database from the command line. But ij is more than just a place to enter select statements. It provides a fairly comprehensive suite of tools and commands, such as the use and manipulation of cursors. This article explains the use of ij's advanced scripting capabilities. You may never go back to a Web application again.
|
 |
Articles |
 |
18 Jul 2006 |
|
| |
Connect to Apache Derby databases using Python
Using Python to manipulate Derby databases allows us to quickly and easily explore, learn, and prototype relational database applications.
|
 |
Articles |
 |
19 May 2005 |
|
| |
Develop Perl applications with Apache Derby
Discover how to use Perl, Open Database Connectivity (ODBC), and the Perl Database Interface (DBI) to access data in an Apache Derby database. This article covers the installation of Perl, the ODBC driver, the Perl DBI, and Perl DBD-ODBC modules on Windows, and includes a sample Perl script that demonstrates connecting to, inserting data into, and selecting data from a Derby database.
|
 |
Articles |
 |
07 Oct 2004 |
|
| |
ODBC programming using Apache Derby
This article introduces you to ODBC programming with Apache Derby or IBM Cloudscape as the backend data source. You'll learn how ODBC applications differ from embedded SQL applications, how to set up Apache Derby as an ODBC data source, and how an ODBC application is structured. In addition, the author covers error handling and includes an example.
|
 |
Articles |
 |
23 Sep 2004 |
|
| |
Harnessing Apache for REXX programming
This article introduces the Mod_Rexx package, which is similar to other
Apache language processor modules, such as mod_perl or mod_php. Mod_Rexx brings
the full power of the REXX language processor of your choice (IBM Object REXX,
Regina REXX, etc.) to the Apache Web-page developer. You can use Mod_Rexx to
create dynamic Web pages or to process any part of an Apache request.
|
 |
Articles |
 |
01 Aug 2002 |
|
| |
Storing Java objects in Apache Directory Server, Part 2
In this second half of his introduction to storing Java objects in Apache Directory Server (ApacheDS), Bilal Siddiqui presents nine
example applications to demonstrate the concepts you learned in Part 1. In addition to walking you through all the steps to store, search, retrieve, and modify Java objects using ApacheDS, Bilal concludes the article with a reusable Java class that combines these functions using LDAP schema components in ApacheDS.
|
 |
Articles |
 |
02 May 2006 |
|
| |
Exposing an Apache Derby stored procedure as a Web service
Because of its small footprint, we often think of Apache Derby in terms of an embedded database. But what about in distributed environments, such as Web services or service-oriented architectures (SOAs)? Walk through this tutorial to find out how to build a Derby stored procedure, expose it as a Web service, and access that service.
|
 |
Tutorials |
 |
20 Jun 2006 |
|
| |
Apache
Derby project resources
Find complete listings of the articles, tutorials, project info, and news you
need to stay up to date on developing with Apache Derby projects.
|
 |
|
 |
22 May 2007 |
|
| |
Design and develop SCA components using the Spring Framework, Part
1: The trifecta: Spring, SCA, and Apache Tuscany
In this "Design and develop SCA components using the Spring Framework"
series, learn how Service Component Architecture (SCA) and the Spring Framework effectively combine to build distributed
service applications. This first article outlines the benefits of combining
SCA and Spring. Learn how to design and develop your SCA components using
the Spring Framework, how to expose Spring beans as an SCA service, and how to access SCA
services and properties within your Spring applications. The example in this
article use the Apache Tuscany SCA Java technology runtime.
|
 |
Articles |
 |
06 Oct 2009 |
|
| |
Managing WebSphere Portal V5.1 projects with Apache Maven and Rational Application Developer 6.0
See how to set up a portal project infrastructure in an IBM Rational Application Developer that can be used to perform daily builds using Apache Maven.
|
 |
Articles |
 |
30 Mar 2005 |
|
| |
Connect to Apache Derby databases using Jython
Using Jython to manipulate Derby databases allows us to quickly and easily explore, learn, and proptotype relational database applications.
|
 |
Articles |
 |
17 Feb 2005 |
|
| |
IBM WebSphere Developer Technical Journal: Get started with WebSphere Application Server Community Edition
IBM WebSphere Application Server Community Edition is an open source
Java 2 Platform, Enterprise Edition (J2EE) application server based on Apache
Geronimo. This article will help you understand why you might want to use this
new product, when it might be the best choice for your project, and then walks
you through what you need to know to get up and running quickly with WebSphere
Application Server Community Edition, from setting up your environment and
choosing the right download package to deploying applications. Updated for
V1.0.1.1.
|
 |
Articles |
 |
11 Apr 2006 |
|
| |
WebSphere migrations: Migrate from JBoss v4.x to IBM WebSphere Application Server Community Edition v2.x
Leverage the superior support and architecture of WebSphere Application Server and Apache Geronimo by migrating applications running on JBoss Application Server.
|
 |
Articles |
 |
14 Oct 2009 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 5
This five-part series walks you through building a simple photo-sharing
Web site using Perl and Apache to access Amazon's Simple Storage Service (S3)
and SimpleDB. In this final installment, examine the full mod_perl site's
templates, including one for indexing, three for uploading (general, S3 forms,
and URL additions), one for image and comment browsing, and one to browse
comments recursively for an image (or threading down).
|
 |
Articles |
 |
23 Jun 2009 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 4
This five-part series walks you through building a simple photo-sharing
Web site using Perl and Apache to access Amazon's Simple Storage Service (S3)
and SimpleDB. In this installment, examine the full mod_perl site's code base,
including how to configure the top level, what to do with the handlers, and
how to set up external dependencies.
|
 |
Articles |
 |
14 Jun 2009 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 3
This five-part series walks you through building a simple photo-sharing
Web site using Perl and Apache to access Amazon's Simple Storage Service (S3)
and SimpleDB. In this installment, follow your site's interaction with
SimpleDB by learning how the URL creates a SimpleDB record for the uploaded
file. Also learn how to create, edit, and delete comments as SimpleDB records
on a photo for a particular user.
|
 |
Articles |
 |
14 Jun 2009 |
|
| |
Deploying Django applications to a production server
Django is a Python-based open source Web application framework that
focuses on making the process of creating database-driven Web sites and Web
applications easier. Getting started with developing Django applications is
simple, as a development Web server is included with the framework. However,
this server is not suitable for use in a production environment, so further
steps are required to deploy your Django application to the Web. In
this article, you will learn about the Django framework and how to install it
on your local machine. Discover how a Django application is made and
about the automatic administration interface created for your application. You
will then find out how to deploy your Django application to the Web on a
server running Apache and mod_python. Finally, learn how Django
applications can and should be scaled as your application's requirements
grow.
|
 |
Articles |
 |
07 Apr 2009 |
|
| |
Create an ooRexx build environment on Linux KVM
Construct an on-demand software build service using ooRexx that uses the
Linux Kernel Virtual Machine (KVM) for better performance. KVM acts as the
host for the guest operating systems that build the target software for the
user. The Apache Web server controls the builds and stores the results for
later retrieval by the user. Learn how to set up the build server and create
guests, customize build requests, and organize and access build
results.
|
 |
Articles |
 |
14 Jul 2009 |
|
| |
Isolated unit testing of persistence with Derby
Get help developing your database-driven unit-testing skills. Without isolation and automation, database-driven unit tests can become a maintenance nightmare of sporadic failures and bad test data. The open source Apache Derby database is ideal for completely automating and isolating unit tests, because it offers fast, in-process performance and zero administration. This tutorial gives you step-by-step examples on using Derby to write effective and maintainable unit tests that improve the quality of your application.
|
 |
Tutorials |
 |
11 Oct 2005 |
|
| |
Build a Derby calendar, Part 1: Understanding JDBC
Build a calendar and reminder application using the Java language and the Apache Derby database in Part 1 of this three-part tutorial series. This tutorial starts by showing you how to install the database and exploring interactions with it through Java Database Connectivity (JDBC). Parts 2 and 3 will examine different options for including Derby in your application and Derby's transactional capabilities as we move from a single-user to a multiuser system. Finally, we'll move to a multimode system that includes a Web interface.
|
 |
Tutorials |
 |
13 Sep 2005 |
|
| |
Get the most out of XML processing with AXIOM
The AXis Object Model (AXIOM) is the XML object model for Apache Axis 2, and aims to revolutionize XML processing technology by providing a powerful combination of features. AXIOM goes beyond existing XML processing methodologies as it combines deferred building with a customizable object model that is fast and lightweight. In this article, software architect and AXIOM pioneer Eran Chinthaka gives you an overview of this new approach to XML processing.
|
 |
Articles |
 |
13 Sep 2005 |
|
| |
Java Web services: JAXB and JAX-WS in Axis2
Apache Axis2 supports a range of data-binding technologies, including the official Java standard, JAXB 2.x. Axis2 also supports the Java standard for Web service configuration, JAX-WS 2.x, as an alternative to its own custom configuration technique. Dennis Sosnoski continues his Java Web services column series by demonstrating how you can use each of these Java standards with Axis2 and discussing some of the limitations of Axis2's current support for them.
|
 |
Articles |
 |
15 Sep 2009 |
|
| |
Set up a PHP and MySQL development environment
Set up PHP, Apache, and MySQL as a development environment on a Windows XP machine. This tutorial gives you step-by-step instructions on how to get it all up and running painlessly.
|
 |
Tutorials |
 |
08 Jun 2005 |
|
| |
Geronimo! Part 2: Tame this J2EE 1.4 bronco
Geronimo, the Apache Software Foundation's J2EE 1.4 server project, is integrating a large suite of existing open source services to achieve J2EE 1.4 compliance. Part 1 of this two-part series explored the reason for Geronimo, its design goals and architecture, and some core concepts and terminology. In this final part, Sing Li cuts to the chase and gets hands-on with Geronimo. Using the latest Geronimo distribution, you'll test and deploy a Web application, an enterprise application, Enterprise JavaBeans (EJBs), and more.
|
 |
Articles |
 |
24 May 2005 |
|
| |
Hosting PHP applications on the IBM HTTP Server
IBM maintains its own copy of the Apache Web server and ships it as the IBM
HTTP Server, along with its WebSphere Application Server. This Web server is
fundamentally Apache and as such, can host and run applications written in PHP:
PHP. Learn about the differences between the open source
Apache Web server and IBM's version, and view demonstrations of IBM's version running a well-known PHP application.
|
 |
Articles |
 |
24 Mar 2005 |
|
| |
Building a better J2EE server, the open source way
Gluecode Software is among the growing number of companies that are successfully commercializing open source software, and it has incorporated several up-and-coming open source middleware components -- including Apache Geronimo and Apache Derby, among others -- into a J2EE application server stack. After the recent announcement of IBM's acquisition of Gluecode, we sat down with one of Geronimo's main contributors and CTO of Gluecode, Jeremy Boynes, to hear his perspectives on Geronimo, Java directions, and the state of open source.
|
 |
Articles |
 |
10 May 2005 |
|
| |
Introduction to LAMP technology
This tutorial explores the Linux-Apache-MySQL-PHP, or LAMP, Web development framework and shows how that framework can help you build applications to solve common business problems. The tutorial begins with an exploration of the LAMP architecture, then introduces fundamental PHP concepts. After a solid grounding of PHP, the tutorial explains MySQL support, with coverage focusing on database concepts and how to access MySQL from PHP. All of these techniques are discussed within the context of a real-world customer management example.
|
 |
Tutorials |
 |
03 May 2005 |
|
| |
LPI exam 202 prep, Topic 208: Web services
In this tutorial, the fourth in a series of seven tutorials covering intermediate network administration on Linux, David Mertz continues preparing you to take the Linux Professional Institute Intermediate Level Administration (LPIC-2) Exam 208. Here, David Mertz discusses how to configure and run the Apache HTTP server and the Squid proxy server.
|
 |
Tutorials |
 |
25 Apr 2006 |
|
| |
Welcome to the Open source zone
IBM is launching a revamped developerWorks Open source zone, which will deliver more articles, resources, tools, and tutorials that support major industry open source initiatives, including Linux, Apache, Derby, Globus, and Eclipse. Learn how you can benefit.
|
 |
Articles |
 |
25 Feb 2005 |
|
| |
Make Ant easy with Eclipse
Eclipse can make working with Apache Ant easier. Discover the Ant integration features in the Eclipse integrated development environment (IDE), and learn how to write, build, and debug code in Eclipse through the Ant editor.
|
 |
Tutorials |
 |
18 Apr 2006 |
|
| |