Filter by products, topics, and types of content

(0 Products)

(122 Topics)

(4 Industries)

(6 Types)

1 - 23 of 23 results
Show Summaries | Hide Summaries
View Results
Title none Type none Date none
Sample code: Translate natural language with the Watson Language Translator service
This code shows you how to use the node.js API for the Watson Language Translator service. Given some text, a source language, and a target language, Watson translates that text and returns one or more translations to you.
Also available in: Chinese   Japanese  
Articles 18 Jul 2017
Sample code: Identify the context of natural language with the Watson Natural Language Classifier service
This code shows you how to use the Java API for the Watson natural language classification service. Given some text and a context, Watson analyzes the text and returns a list of categories relevant to that text.
Also available in: Chinese   Japanese  
Articles 18 Jul 2017
Sample code: Identify the context of natural language with the Watson Natural Language Classifier service
This code shows you how to use the node.js API for the Watson natural language classification service. Given some text and a context, Watson analyzes the text and returns a list of categories relevant to that text.
Also available in: Chinese   Japanese  
Articles 18 Jul 2017
Sample code: Translate natural language with the Watson Language Translator service
This code shows you how to use the Java API for the Watson language translator service. Given some text, a source language, and a target language, Watson translates that text and returns one or more translations to you.
Also available in: Chinese   Japanese  
Articles 18 Aug 2017
Sample code: Analyze text with the Watson Personality Insights service
This code shows you how to use the Java API for the Watson Personality Insights service. Given some text, Watson analyzes the openness, conscientiousness, extraversion, agreeableness, emotional range, and needs of the speaker.
Also available in: Chinese  
Articles 18 Jul 2017
Sample code: Identify the tone of written text with the Watson Tone Analysis service
This code shows you how to use the Java API for the Watson tone analysis service. Given some text, Watson evaluates the tone, looking for qualities such as the speaker's levels of anger, disgust, joy, fear, and sadness.
Also available in: Chinese   Japanese  
Articles 18 Jul 2017
Sample code: Identify the tone of written text with the Watson Tone Analyzer service
This code shows you how to use the node.js API for the Watson Tone Analyzer service. Given some text, Watson evaluates the tone, looking for qualities such as the speaker's levels of anger, disgust, joy, fear, and sadness.
Also available in: Chinese   Japanese  
Articles 18 Aug 2017
Sample code: Analyze text with the Watson Personality Insights service
This code shows you how to use the node.js API for the Watson Personality Insights service. Given some text, Watson analyzes the openness, conscientiousness, extraversion, agreeableness, emotional range, and needs of the speaker.
Also available in: Chinese   Japanese  
Articles 18 Aug 2017
Sample code: Identify objects in an image with the Watson Visual Recognition service
This code shows you how to use the node.js API for the Watson Visual Recognition service. Given an image, Watson attempts to identify objects in that image.
Also available in: Chinese   Japanese  
Articles 18 Jul 2017
Sample code: Recognize and identify faces in an image with the Watson Visual Recognition service
This code shows you how to use the node.js API for the Watson Visual Recognition service. Given an image, Watson looks for faces in that image and attempts to recognize each of those faces.
Also available in: Chinese   Japanese  
Articles 17 Aug 2017
Use Apache Wink with the Jackson JSON processor
Apache Wink is fast becoming one of the de facto implementations of the JAX-RS 1.0 specification. The providers included with the standard Apache Wink distribution for JSON marshalling and unmarshalling, such as JSON.org and Jettison, have some problems with array representation and limited return types. Coding JAX-RS services and their client Asynchronous JavaScript and XML (Ajax) applications can be difficult. In this article, learn a method for configuring an existing Apache Wink-enabled Web application to use the Jackson JSON provider to solve some of the problems. An example, with sample code for a simple Jackson-enabled JAX-RS Web service, illustrates the advantages of this provider.
Also available in: Chinese   Japanese  
Articles 20 Apr 2010
Use a Liberty JAAS login module for Bluemix single sign-on
This tutorial provides a technique for Liberty-aware authentication with the Bluemix SSO service. Create a sample app that uses the Bluemix SSO service for user login; the Liberty server creates all necessary objects (Subject, Principal, Session) upon successful authentication. A Liberty app can obtain Bluemix SSO capabilities using JAAS authentication with the SSO service so that your authentication mechanism is abstracted from application code.
Also available in: Chinese   Russian   Japanese  
Articles 24 Mar 2015
JavaScript EE, Part 3: Use Java scripting API with JSP
In the previous two parts of this series, you've seen how to run JavaScript files on the server and how to call remote JavaScript functions with Ajax. This article explains how to use server-side JavaScript code with the JavaServer Pages (JSP) technology and how to build Asynchronous JavaScript and XML (Ajax) user interfaces that remain functional when JavaScript is disabled in the Web browser. The sample code consists of a small JSP tag library that you can reuse in your own applications as well as a dynamic Web form, which is generated with a piece of JavaScript code that can be executed on the Web server or in the Web browser.
Also available in: Chinese   Japanese   Portuguese  
Articles 02 Jun 2009
Using the Java JoinRowSet implementation with DB2 UDB
The efforts of JSR114 bring you the offering of serializable disconnected objects in Java 1.5. With these objects, you can connect to a DB2 UDB database and grab data locally. You can then release your database connection and manipulate the data offline. At a later time, you can reconnect to your database and synchronize changes made to the disconnected objects. In this article, I will show you how you can perform offline JOIN operations on your DB2 Universal Database data using the JoinRowSet interface. Sample code included.
Articles 07 Jul 2005
Create and implement an XPCOM component for the Firefox browser
Learn how to create, develop, and test a Cross-Platform Component Object Model (XPCOM) component that can be used by the Firefox browser as an extension of an application. Sample code provided with the example used in the article gives you a quick start for developing your component for Firefox.
Articles 27 Oct 2009
XML Validation Framework using OASIS CAM (CAMV)
In this article, we present an approach for XML Validation using OASIS Content Assembly Mechanism (CAM) templates to support a wide array of complex message exchanges with business partners using B2B or B2C business patterns. The CAM templates simplify and externalize the validation rules while allowing the gateway to act as a pass-through on information that is not directly relevant. We also cover our experiences using an open source component built using Eclipse and Java technology to deliver the needed validation services. Follow the application development process as it happened along with sample code snippets and an XML example using the STAR (Standards for Technology in Automotive Retail) Automotive Business Object Document (BOD) schema and associated CAM XML template.
Also available in: Chinese   Japanese  
Articles 11 May 2010
Introducing the Java Message Service
This tutorial provides an introductory overview of the Java Message Service, its functionality, and its capabilities. You will learn the basic programming techniques for creating JMS programs and work with sample code that demonstrates these techniques. Note: This tutorial has been updated to include changes to JMS version 1.1.
Tutorial 08 Jun 2004
Access your database from everywhere
Design your DB2 UDB database for international use with Unicode. This article explains what encodings are supported, what you need to consider in planning your database, how to store Unicode data, how to migrate an existing non-Unicode database to a Unicode deatabase, and how to enter data. In addition, you'll learn how a Java application accesses DB2 Unicode data, and examine Java examples.
Articles 26 Jan 2006
Develop applications using the IBM Enterprise Content Management Java APIs with IBM Rational Application Developer
Get started with these ECM Java APIs: IBM Content Manager, IBM FileNet P8 Content Manager, and IBM Information Integrator Content Edition. Set up the IBM Rational Application Developer environment for each of the APIs covered, and start writing simple code to log-on, search, retrieve, and view documents using each API.
Tutorial 17 Apr 2008
Design and develop JAX-WS 2.0 web services
Using Java API for XML Web Services (JAX-WS) technology to design and develop web services yields many benefits, including simplifying the construction of web services and web service clients in Java, easing the development and deployment of web services, and speeding up web services development. This tutorial walks you through how to do all of this and more by developing a sample order-processing application that exposes its functionality as web services. After going through this tutorial, you'll be able to apply these concepts and your newly acquired knowledge to develop web services for your application using JAX-WS technology.
Also available in: Russian  
Tutorial 20 Sep 2007
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.
Also available in: Japanese   Portuguese  
Articles 18 Aug 2009
IBM Cognos SDK Validation tool
Download and try the IBM Cognos Validation tool, a command line utility written in Java using the IBM Cognos SDK. This tool can run a complete validation check of all the reports in the Content Store by automating the Report Studio validate process.
Also available in: Russian  
Articles 07 Aug 2008
Write high performance Java data access applications, Part 2: Introducing pureQuery built-in inline methods
pureQuery is a high-performance data access platform that makes it easier to develop, optimize, secure, and manage data access. It consists of tools, APIs, a runtime, and client monitoring services. This article introduces pureQuery built-in inline methods, which are a set of well-defined and efficient APIs that are simpler and easier to use than JDBC. With inline methods, SQL or XQUERY statements can be created inline within the code as a Java(TM) string object and passed as a string parameter to the pureQuery Data interface method. This article explains the key features of inline methods and why a developer might choose to use them. [30 September 2010: This article was updated from its original May 2008 publication to include product name changes and additional resources that were made available since its original publication. --Ed.]
Also available in: Russian  
Articles 30 Sep 2010
1 - 23 of 23 results
Show Summaries | Hide Summaries