Subscribe
Tutorial search

Java Api Tutorials


Sort by:
Working with Gesture API in Android
Working with Gesture API in Android
Developing a simple proof-of-concept application that makes use of Gesture API in Android
Difficulty:
How to create hidden file in Java using JDK7 new File API
How to create hidden file in Java using JDK7 new File API
quick tip to make any file hidden in Java or create new hidden files in Unix and windows environment. Java File API doesn't provide any direct way of doing this prior to JDK 7 and you need to workaround this by executing DOS command in windows and having do(.) in start of file name in Unix. from JDK7 onwards you can set attribute hidden as true.
Difficulty:
Using the new Java 6 Desktop API to do cool things.
Using the new Java 6 Desktop API to do cool things.
A new class in Java 6 is Desktop. Desktop allows you to open, print and edit files by calling their associated application. It lets you open yous OS's default email client, as well as default web browser.
Difficulty:
An update on Java Persistence API 2.0
An update on Java Persistence API 2.0
As the JPA Expert Group (JSR-317) nears completion of the JPA 2.0 specification, this article introduces you to some of the new concepts and features in this updated specification. It also explains how you can experience this new functionality with the Apache OpenJPA project, an open-source, robust, high performance, scalable implementation of the JPA specification.
Difficulty:
Methods to resolve namespaces with the Java API
Methods to resolve namespaces with the Java API
Explore namespaces in XPath expressions with the Java language and its XML functions. Learn three ways to provide the prefix to namespace mapping using the NamespaceContext object. This article contains example code to make it easy to code your own NamespaceContext.
Difficulty:
The API Layer strategy
The API Layer strategy
This article covers the API Layer transaction strategy, which is the most robust, simplest, and easiest-to-implement transaction strategy. With that simplicity comes limitations and considerations that this article describes. Learn how to use the EJB 3.0 specification in code examples; the concepts are the same for the Spring Framework and JOTM.
Difficulty:
Design Attractive Skins and Templates for a MediaWiki site with New Book from Packt
Design Attractive Skins and Templates for a MediaWiki site with New Book from Packt
Apache OFBiz Development: The Beginner's Tutorial is a new book from Packt that will help developers install and configure OFBiz to optimize system performance. Written by two leading OFBiz consultants Rupert Howell and Jonathon Wong, this book teaches developers to use services, entities, and widgets to build custom ERP and CRM systems. Apache OFBiz (Open For Business) is an open-source enterprise automation software that powers many small and medium sized businesses around the world. Built around an MVC framework with common logic, data model and process components, Ofbiz allows existing and bespoke applications to be added through a component-based architecture. Through examples in this book, readers will learn what OFBiz is, and how to build business applications rapidly. The book explains the Model-View-Controller framework and readers will learn about Widgets, Entities, and The Service Engine. They will also be able to develop a bespoke OFBiz component and also enhance and modify existing components. Users will be able to simplify database operations and perform complicated queries by learning the basic units of the framework's Model. They will also learn to build synchronous and asynchronous communications by creating Java services in the Service Engine. Using the OFBiz language: MiniLang, readers will be able to speed up their OFBiz development. This book is targeted at developers wanting to build easily deployed and supported OFBiz applications. The book is out now and is available from Packt. For more information, please visit http://www.packtpub.com/apache-ofbiz-development-beginners-tutorial/book
Difficulty:
Using the Java 2D API to animate art
Using the Java 2D API to animate art
This article hows how to animate images in unexpected and artistic ways using the Java 2D API and cellular automata. You can use the ideas from this article to create your own image operators and artistic programs using Java technology.
Difficulty:
Wicket: An easy framework for building dynamic Web pages
Wicket: An easy framework for building dynamic Web pages
Wicket provides an object-oriented approach toward developing dynamic Web-based UI applications. Because Wicket is pure Java and HTML code, you can leverage your knowledge about Java to write applications based on Wicket, dramatically reducing your development time. This article gives you an overview of Wicket and describes how you can use Wicket to rapidly build Web-based applications in a non-intrusive and easy way.
Difficulty:
Integrating Java and PHP in WebSphere sMash
Integrating Java and PHP in WebSphere sMash
The WebSphere sMash environment enables rapid development of interactive Web applications based on popular Web technologies such as PHP, and it lets you reuse existing Java assets from PHP scripts. This article introduces the Java Bridge and shows how to access Java classes from PHP.
Difficulty:
Extend and Customize OpenCMS through its Java API
Extend and Customize OpenCMS through its Java API
Ope nCms may be used to manage content right after installation. One way of using it is to import static fi les into the Vir tual File System (VFS) and utilize the publishing and version control features to manage them. In this scenario, fi les from an existing non-content managed website may easily be content managed. Files in the VFS may be created, edited, and previewed in the offl ine staging area, before they are published to the online fi le system. When published, versions can be taken to allow for roll back, if necessary. Files in the VFS may also be exported to the Real File System (RFS) an d served statically or by a web server. In this way, the website can operate in exactly the same way it did, prior to being placed into OpenCms, except for the fact that it is now version controlled.
Difficulty:
An introduction to API Tools in Eclipse
An introduction to API Tools in Eclipse
Crafting Application Public Interface (API) and especially managing API among different releases is difficult. In this article, learn how to take advantage of Eclipse's Plug-in Development Environment API Tools to make this process easier and seamlessly integrated into your daily development.
Difficulty:
Browser-based Application Toolkit
Browser-based Application Toolkit
Create a professional, consistent user interface with the Browser-based Application Toolkit, a Web presentation framework with extendible building blocks. The toolkit’s framework can be used to rapidly build GUIs that not only mimic business processes, but also implement IBM's standards for accessibility and national language enablement.
Difficulty:
Deal with XML parsing errors in Java APIs
Deal with XML parsing errors in Java APIs
With the ease of XML parsing in the newer Java language APIs, XML parsing has become foundational to Java programming. But with the higher-level APIs comes a loss of control over the minute interactions between a parser and your XML data. Learn how the Simple API for XML (SAX) deals with errors and how you can access that mechanism even when you don't use SAX directly.
Difficulty:
Use Java APIs for building RPC-based Web services
Use Java APIs for building RPC-based Web services
Remote procedure calls (RPCs) are the precursors to modern Web services that are based on the Simple Object Access Protocol (SOAP) or Representational State Transfer (REST). This tutorial takes you through getting and installing JAX-RPC, configuring it, and building a server-side RPC receiver and a simple client-side application.
Difficulty:
Search Term(s) (1): api