| |
|
Noticias del sector |
|
developerWorks : Open source : Technical library
|
The latest content from IBM developerWorks
|
|
|
-
Use XStream to serialize Java objects into XML
XML serialization has a myriad of uses, including object persistence and data transport. However, some XML-serialization technologies can be complex to implement. XStream is a lightweight and easy-to-use open source Java library for serializing Java objects to XML and back again. Learn how to set up XStream, and discover how to use it to serialize and deserialize objects as well as to read configuration properties from an XML configuration file.
-
Use Ext, Aptana, and AIR to build desktop applications
While Rich Internet Applications and Web 2.0 have been all the rage, the latest
wave of emerging technologies are focusing on not only giving Web applications a
desktop-like feel but actually bringing them to the desktop. The Adobe Integrated
Runtime (AIR) has led the way, allowing Web application developers to leverage their
existing knowledge of HTML, CSS, JavaScript, Flash, and Flex to build powerful desktop
applications. In this tutorial, you will use the open source Aptana Studio IDE, the
Adobe AIR plug-in for Aptana, and the open-source JavaScript framework Ext.
-
Build a RESTful Web service
Representational state transfer (REST) is a style of designing loosely coupled applications that rely on named resources rather than messages. The hardest part of building a RESTful application is deciding on the resources you want to expose. Once you've done that, using the open source Restlet framework makes building RESTful Web services a snap. This tutorial guides you step-by-step through the fundamental concepts of REST and building applications with Restlets.
-
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.
-
Running an Ant task on the IBM Rational Software Delivery Platform
Learn how to create and invoke an Ant task capable of running in headless (command
line) mode to produce a list of changes between two UML models. Prerequisite:
Version 7.0.0.5 of any of these tools: IBM Rational Application Developer, Rational
Software Architect, or Rational Software Modeler.
-
Debug iPhone Web applications with Eclipse
Learn how to debug Asynchronous JavaScript + XML (Ajax) Web applications using
Eclipse, Aptana's iPhone Development plug-in, Aptana's Firefox JavaScript debugger, and Firebug.
-
Integrate encryption into Google Calendar with Firefox extensions
Today's Web applications provide many
benefits for online storage, access, and collaboration. Although some applications offer
encryption of user data, most do not. This article provides tools and code needed to add
basic encryption support for user data in one of the most popular online calendar
applications. Building on the incredible flexibility of Firefox extensions and the Gnu
Privacy Guard, this article shows you how to store only encrypted event descriptions in
Google's Calendar application, while displaying a plain text version to anyone with the
appropriate decryption keys.
-
Developing iPhone applications using Ruby on Rails and Eclipse, Part 3: Developing advanced views for iPhone
The iPhone and iPod touch made Mobile Safari the most popular mobile browser in
the United States. Although Mobile Safari is more than adequate at rendering normal Web
pages, many Web developers created versions of applications aimed at the iPhone. Here
in Part 3 of this "Developing iPhone applications using Ruby on Rails and Eclipse"
series, we learn what you should do when the user reaches the end of the list structure
and your application actually needs to display some content
-
Mastering Grails: Grails and legacy databases
In this Mastering Grails installment, Scott Davis explores the various ways that Grails can use database tables that don't conform to the Grails naming standard. If you have Java classes that already map to your legacy databases, Grails allows you to use them unchanged. You'll see examples that use Hibernate HBM files and Enterprise JavaBeans 3 annotations with legacy Java classes.
-
Manage your Informix database with the IDS OpenAdmin Tool, Part 2: Migrate from Informix Server Administrator to the IDS OpenAdmin Tool
Migrate from the Informix Server Administrator (ISA) to the
OpenAdmin Tool. Also, learn about the basic capabilities of ISA that are made available on OAT, along with enhanced functionalities and greater ease-of-use.
-
Manage your Informix database with the IDS OpenAdmin Tool, Part 1: Configuring and using the OpenAdmin Tool with IDS
IBM Informix Dynamic Server (IDS) is well known for ease of administration. To make server administration more user friendly, a new open source, platform-independent tool called OpenAdmin Tool (OAT) is now available to IDS users The OpenAdmin Tool provides graphical
interface for administrative tasks and performance analysis tools. Introduced with IBM Informix Dynamic Server
version 11.10, it is a PHP-based, Web browser administration tool that gives you the ability to administer multiple
database server instances from a single location. This article highlights some of the most useful features of OAT and helps you get started.
-
Developing iPhone applications using Ruby on Rails and Eclipse, Part 2: Displaying iPhone content to the client
The iPhone and iPod touch made Mobile Safari the most popular mobile browser in
the United States. Although Mobile Safari is more than adequate at rendering normal Web
pages, many Web developers created versions of applications aimed at the iPhone. Here in Part 2 of this "Developing iPhone
applications using Ruby on Rails and Eclipse" series, we learn the common use of
drill-down lists as a navigation method
-
Automation for the people: Continual refactoring
Refactoring is a well-accepted practice for improving existing code.
Yet, how do you find the code that should be refactored, in a consistent and
repeatable manner? In this installment of Automation
for the people, you'll learn how to use static analysis tools to identify code smells to refactor, with examples showing how to improve odiferous code.
-
Integrate your PHP application with Google Calendar
Google Calendar allows Web application developers to access user-generated
content and event information through its REST-based Developer API. PHP's SimpleXML
extension and Zend's GData Library are ideal for processing the XML feeds generated
by this API and using them to build customized PHP applications. This article
introduces the Google Calendar Data API, demonstrates how you can use it to browse user-generated calendars; add and update calendar events; and perform keyword searches.
-
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.
-
Advanced charting in BIRT
Since 2004, the Eclipse-based Business Intelligence and Reporting Technology
(BIRT) community has grown and gained massive success. This success is growing as more
users are starting to integrate with BIRT technology to present business data. A
key reason for this success is that users are discovering the rich BIRT reporting
components. The BIRT charting capabilities is one of the rich components that allow the
end user to uncover trends in data to answer business
questions. BIRT provides extensive interactive charting and other advanced features to
allow report developers to create professional-looking reports.
-
Build Web services with PHP in Eclipse
Learn how to build Web services in PHP using the PHP Development Tools (PDT)
plug-in in Eclipse in three easy steps. First, become familiar with the PDT project, and
learn how to create and deploy useful PHP projects. Second, learn the philosophy behind
contract-first development. Finally, get an informative overview of the basic parts
that make up a Web Services Description Language (WSDL) file.
-
Getting graphic with PHP
Imagine creating Web-page graphics dynamically using just code -- no need for a
complex graphics program. Creating and manipulating images is yours for the doing with
the power of PHP. Put your coding skills to work generating images for the Web.
-
Create a productivity package with the Zend Framework V1.5 and Google applications, Part 1: Getting started with Zend Framework V1.5
Google applications provide amazing productivity tools. From sharable calendars,
collaborative documents and spreadsheets to even a database, they have reinvented what
one can do in the Web browser. Zend Framework V1.5 provides an API to connect to these
services to extend what these tools offer. In this three-part "Create a productivity
package with the Zend Framework V1.5 and Google applications" tutorial series, we will
build an application with Zend Framework V1.5 that uses the Google applications. Here
in Part 1, we explore the various features of the Zend Framework, outlining the many
new features in V1.5 that we will take advantage of to build an example Web site.
-
Interfacing with the CDT debugger, Part 2: Accessing gdb with the Eclipse CDT and MI
The graphical debugging environment provided by the Eclipse C/C++ Development
Tooling (CDT) is about as good as it gets, displaying breakpoints, watchpoints,
variables, registers, disassembly, signals, and memory contents. You can add new
capabilities to this environment or access these views to display output from a custom
debugger. But first, you need to understand the C/C++ Debugger Interface (CDI) and how
it communicates with Eclipse. Part 1 describes the CDI at a high level, and this
article presents a practical example: How the CDT uses the CDI and the Machine
Interface (MI) to interface the GNU Debugger.
-
Eclipse Ganymede at a glance
The Eclipse Ganymede release of 24 projects showcases the diversity and
innovation going on inside the Eclipse ecosystem. Get an overview of several Ganymede
projects, along with resources to find out more information.
-
Debugging PHP using Eclipse and PDT
The PHP Development Tools (PDT) plug-in, when installed with Eclipse Europa,
gives you that ability to quickly write and debug PHP scripts and pages. PDT supports
two debugging tools: XDebug and the Zend Debugger. Learn how to configure PDT for
debugging PHP scripts and discover which perspectives you use when taking closer looks at your scripts.
-
Mastering Facebook application development with PHP, Rational
Application Developer, WebSphere Application Server, and DB2, Part 3: Complete the Facebook stock broker demo application
This is the final tutorial of a three-part series on developing a fully functioning Facebook application in PHP and Java languages that provides a Facebook interface to an existing stock brokerage's trading application. In this tutorial you use all the tools you installed and components you developed in the first two parts of this series to implement the specifics of the Facebook application.
-
Interfacing with the CDT debugger, Part 1: Understand the C/C++ debugger interface
The Eclipse C/C++ Development Tooling (CDT) is one of the most well-known open
source environments for C/C++ development, and its full-featured debugger plays a large
role in its popularity. What isn't as well known is that the CDT framework can be
extended to support custom debuggers. With the right plug-in, a custom debugger can
access the full spectrum of the CDT's graphical debugging environment: code-stepping,
watchpoints, breakpoints, register contents, memory contents, and variable views. Learn
how to construct this plug-in, with a focus on the C/C++ Debugging Interface (CDI).
-
Automation for the people: Pushbutton documentation
Project documentation is often one of the necessary evils in delivering a software product. But imagine being able to generate your documentation at the click of a button. In this installment of Automation for the people, automation expert Paul Duvall explains how you can use open source tools to automate the generation of Unified Modeling Language (UML) diagrams, build figures, entity-relationship diagrams (ERDs), and even user documentation.
-
Visualizing time-dependent data with distortion portals
Create an SDL-enabled application that allows you to create distortion portals
in sequential image frames to explore the relationship of data sets through time.
-
Reuse Java code in your Ruby on Rails applications
The Ruby Java Bridge (RJB) lets you load Java classes directly
to, and call them from, Ruby on Rails applications. This tutorial shows how you can
put this toolkit to work by reusing your legacy Java Web application code in a modern Web development platform.
-
Embed the NASA World Wind Java SDK in Eclipse
The open source World Wind Java (WWJ) SDK by NASA creates new possibilities for the open Geographic Information Systems (GIS) community. World Wind, a 3D interactive world viewer written in the Java language and OpenGL, lets users zoom from outer space into any place on Earth. This article explains how GIS developers who want to enhance their Eclipse-based applications can embed the WWJ SDK as an Eclipse plug-in.
-
Developing iPhone applications using Ruby on Rails and Eclipse, Part 1: Serving content for iPhones
The iPhone and iPod touch made Mobile Safari the most popular mobile browser in
the United States. Although Mobile Safari is more than adequate at rendering normal Web
pages, many Web developers created versions of applications aimed at the iPhone. This
"Developing iPhone applications using Ruby on Rails and Eclipse" series shows how to use
Ruby On Rails on the server side to identify and serve custom content to Mobile Safari.
-
Add multitouch gesture support to a TouchPad-equipped laptop
Enable swipe and pinch gestures for Linux applications by analyzing synclient
program output for a Synaptics TouchPad.
-
Use JRuby on Rails and XML to supercharge Ajax with a Java Application Server
The Ruby on Rails framework has handy XML features that will make developing
with and serving database data in XML format to your JavaScript applications easier
than ever. JavaScript also has built-in XML parsing capabilities that make it a snap
to receive and parse data in XML format. But what if you now want to hook into Java
applications without having to deploy another server? That's where JRuby comes in.
JRuby on Rails is the Java implementation of the Ruby on Rails framework and brings the benefits of Rails to Java programming by allowing deployment of Ruby apps to Java application servers. In this tutorial, you'll develop a JRuby on Rails application deployable to a Java application server that will serve database data in XML format to an Ajax client that you'll build for film lovers to manage their online films database. You'll also deploy a couple of Java Server Pages pages on the same Java application server to assist the Ajax client in adding and updating films.
-
Build software with Gant
Gant is a highly versatile build framework that leverages both Groovy and Apache Ant to let you implement programmatic logic while using all of Ant's capabilities. In this tutorial, Andy Glover guides you step-by-step through Gant's fundamental concepts. You'll learn how to define behavior in your build through Gant's flexible domain-specific language, how to reuse Ant features, and how to define functions that make your builds more efficient and even proactive.
-
Meet the JavaScript Development Toolkit
The JavaScript Development Toolkit (JSDT) is an open source plug-in that brings
robust JavaScript programming tools to the Eclipse platform. JSDT streamlines
development, simplifies code, and increases productivity for pure JavaScript source
files and JavaScript embedded in HTML.
-
Open an Eclipse Rich Client Platform application from a URL
Imagine being able to navigate to the rich function of a Rich Client Platform
(RCP) application just as easily as you can navigate to a Web page today. Follow along
to enable the opening of specific business objects in your Eclipse RCP application simply by clicking a URL.
-
Implement Semantic Web standards in your Web site
With Yahoo's recent announcement that they will implement support of
Semantic Web standards in their search engine, the benefits that the Semantic Web
has for your site have never been clearer. In addition to the existing benefits such as your structured content giving you a free, open-ended API, you now get the opportunity for increased search rankings, and more importantly, increased relevance because the search engine can better understand what the content of your site is about. In this tutorial you will learn to implement a simple social networking site using PHP and MySQL, which will implement Semantic Web standards such as hCard and Friend of a Friend (FOAF) as part of a semantic Uniform Resource Identifier (URI) scheme.
-
Setting up your own on-demand video site with PHP, Part 2: Basic structure
Setting up your own on-demand video site doesn't have to be complicated. Upload
some videos and put them up for people to watch. Easy enough. But if you're going to be
doing a lot of videos, you'll need a way to keep them organized. This three-part
"Setting up your own on-demand video site with PHP" tutorial series will take you
through what you need to know to create video optimized for the Web, as well as
creating a PHP application that will keep your videos organized and readily accessible.
Part 1 lays the groundwork by assembling and installing the necessary components, and
gathering and converting the video. Part 2
builds the basic application using CakePHP.
-
Picking the right Eclipse distribution for you
Which Eclipse distribution is right for you? Commercial distributions (distros) based on Eclipse
Europa offer different features and conveniences. Many commercial ones also
offer free or community editions to download and use. This article compares the
CodeGear JBuilder 2008 Turbo trial version, nexB EasyEclipse, IBM's Europa bundles, and
Innoopract's Yoxo On Demand distros -- all of which allow you to download a
prepackaged, customized version of Eclipse Europa, and many of which already contain
the plug-ins and tools you need to start working right away.
-
Process and integrate Google Notebook data with PHP
Google Notebook is a free service that allows users to save and share notes and Web clippings in an online journal. A REST-based API allows developers to build customized PHP applications around this service using SimpleXML. In this article, you learn how to use the API, with examples of reading notebooks
and notebook contents using PHP.
-
Understanding Eclipse's new bundle-management mechanism
Learn how to fill the gap between the IBM Rational Functional Tester and the
console of Eclipse-based products by supporting the OSGi commands install, ss, start,
stop, headers, active, update, and uninstall. The solution offers an effective approach
for automation test-case support when the manifest of an Eclipse-AutoStart header has
been upgraded to Eclipse-LazyStart. This article presents test scenarios to verify that
the bundle-management mechanisms work well.
-
Develop Ajax applications like the pros, Part 1: Using the Prototype JavaScript library and script.aculo.us
If you're developing Web applications these days, then you're doing Ajax
development. Ajax is no longer something unusual that you add to your applications
in special cases. It has become an integral part of Web development. To some,
enhancing applications with Ajax used to be a tricky proposition. Cross-browser
limitations to deal with, writing a lot of complicated JavaScript, and learning
about magic numeric codes within that JavaScript were just a few of the challenges facing Ajax developers. Thankfully, several open source JavaScript libraries are available now to make things much easier. In this first article in a three-part series, you will create an Ajax application for managing songs using the Prototype JavaScript library and script.aculo.us.
-
Integrate external tools and builders in Eclipse
With launch configurations in Eclipse Europa, you can run external programs from
within the development environment and save settings for how you call an external
program. Learn how to build and use these launch configurations, including the types of automatic parameters available.
-
The future of PHP
PHP's next edition, V6, includes new features and syntax improvements that will
make it easier to use from an object-oriented standpoint. Other important features,
such as Unicode support in many of the core functions, mean that PHP
V6 is positioned for better international support and robustness.
-
Automation for the people: Manage dependencies with Ivy
Managing source-code dependencies among projects and tools is often a burden, but it doesn't need to be. In this installment of
Automation for the people,
automation expert Paul Duvall describes how you can use the Apache Ant project's Ivy dependency manager to handle the myriad dependencies that every nontrivial Java project must manage.
-
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.
-
Migrating to ext4
Ext4 is the latest
in a long line of Linux file systems, and it's likely to be as important and
popular as its predecessors. As a Linux system administrator, you should be aware of the
advantages, disadvantages,
and basic steps for migrating to ext4. This article explains when to adopt ext4, how to adapt
traditional file
system maintenance tool usage to ext4, and how to get the most out of the
file system.
-
Easily migrate WebSphere Application Server Community Edition applications to
WebSphere Application Server
A new tool available from alphaWorks can help you migrate existing J2EE V1.4
applications from Apache Geronimo-based IBM WebSphere Application Server Community
Edition V2.0.x to IBM WebSphere Application Server V6.1.
-
Introducing the JyDT plug-in for Eclipse
The JyDT plug-in enables Eclipse to work as a Jython/CPython IDE. This tutorial
provides a brief description of the JyDT project and how to configure it. Learn to use
the PyDev perspective and explorer, compile and run code, use the debugger, do unit
testing, refactor, manage Python projects, and use the editor and IDE.
-
Jenabean: Easily bind JavaBeans to RDF
The Resource Description Framework (RDF) is the World Wide Web
Consortium (W3C) proposed standard for linking and expressing data on the Web.
Java developers who develop applications for the Semantic Web will need to convert RDF properties to or from Java types. Jenabean uses the Jena Semantic Web framework's flexible RDF/OWL API to persist JavaBeans, making the task of writing these applications easier and more familiar to Java developers.
-
Make JUnit testing Java applications easier with Grester
So, you've written a bunch of unit tests. As a developer, you run your tests
multiple times per day, especially in a continuous integration environment. But how
badly would they break if the sources had to change? When Jester and Maven combine to
make Grester, you can quickly find out.
-
10 time-saving techniques in Eclipse Europa
Eclipse Europa offers many convenient features for navigating and editing Java
files. Discover what they are and how to use them, and when you're finished, you may be
saying, "I didn't know that!"
|
|
|