Filter by products, topics, and types of content

(0 Products)

(117 Topics)

(3 Industries)

(6 Types)

1 - 100 of 787 results | Next
Show Summaries | Hide Summaries
View Results
Title none Type up Date none
Submit batch jobs from Java on z/OS
Learn how to reuse programs while still accessing them from Web. Historically, the mainframe has had a huge capacity of processing high volumes of data in batch by running Job Control Language (JCL) statements that control the execution of programs. In this article, Nagesh Subrahmanyam provides step-by-step instructions on how to use a Java(TM) program to submit batch jobs from a z/OS(R) mainframe -- the missing link between the traditional batch processing capability of a mainframe and the flexibility of the Web.
Articles 15 Dec 2005
Java theory and practice: Testing with leverage, Part 1
Back in June 2004, veteran exterminator Brian Goetz introduced the FindBugs static code analysis tool, which can detect bugs even in well-tested software. This month, he revisits that topic and looks at how static analysis tools can change the way you manage software quality by aiming development resources at entire classes of bugs rather than specific instances.
Also available in: Chinese   Russian  
Articles 20 Jun 2006
Java Web services: Metro vs. Axis2 performance
The Metro Web services stack provides the same functionality as the Axis2 stack but, aside from the optional use of JAXB and JAX-WS in Axis2, uses completely different implementations of the technologies involved. In this article, Dennis Sosnoski continues his Java Web services column series with a performance comparison between the Metro and Axis2 stacks, both with and without WS-Security.
Also available in: Chinese   Japanese   Portuguese  
Articles 19 Jan 2010
Java theory and practice: Make database queries without the database
When you have a hammer, everything looks like a nail (as the old saying goes). But what if you don't have a hammer? Well, sometimes, you can borrow a hammer. Then, hammer in hand, you can bang the virtual nails with the borrowed hammer, return it, and no one is the wiser. In this month's Java theory and practice, Brian Goetz demonstrates how data manipulation hammers such as SQL or XQuery can be applied to ad-hoc data.
Also available in: Russian   Japanese  
Articles 31 May 2005
Java theory and practice: Going wild with generics, Part 2
Wildcards can be very confusing when it comes to generics in the Java language, and one of the most common mistakes is to fail to use one of the two forms of bounded wildcards ("super T" and "? extends T") when needed. You've made this mistake? Don't feel bad, even the experts have, and this month Brian Goetz shows you how to avoid it.
Also available in: Japanese  
Articles 01 Jul 2008
Java theory and practice: Urban performance legends
Many pointers and tips about Java performance tuning are a lot like urban legends -- someone, somewhere, passes on a tip that has (or had) some basis in fact, but through its continued retelling, has lost what truth it once contained. Brian Goetz examines some of these urban performance legends and sets the record straight.
Also available in: Russian   Japanese  
Articles 22 Apr 2003
JVM concurrency: Asynchronous event handling in Scala
Scala Future and Promise classes give you powerful ways to handle asynchronous processing, including nonblocking ways to organize and sequence events. The async / await constructs, implemented as a macro, make it even easier to write nonblocking event handling in Scala. This tutorial shows you the basic Future and Promise techniques in action, then demonstrates how async / await can convert what looks like simple blocking code to nonblocking execution.
Also available in: Chinese   Russian   Japanese  
Articles 02 Sep 2014
Java theory and practice: Are all stateful Web applications broken?
The session state management mechanism provided by the Servlets framework, HttpSession, makes it easy to create stateful applications, but it is also quite easy to misuse. Many Web applications that use HttpSession for mutable data (such as JavaBeans classes) do so with insufficient coordination, exposing themselves to a host of potential concurrency hazards.
Also available in: Russian   Japanese  
Articles 23 Sep 2008
Java web services: The state of web service security
WS-Security and related standards provide a wide range of options for web service security. Of this wide range, web services stacks test only a limited number of security configurations, and even fewer configurations for interoperability, on their own. Find out what the industry has done to promote interoperability among web services stacks, and read a summary comparison of how the three main open source Java stacks handle security.
Also available in: Chinese   Russian   Japanese  
Articles 07 Dec 2010
Java theory and practice: Garbage collection and performance
The past two installments of Java theory and practice have discussed various techniques for garbage collection and the basics of the JDK 1.4.1 garbage collectors. This month, columnist Brian Goetz looks at the performance impact of the choice of collector, how various coding idioms interact with the garbage collector, and how allocation and other related costs have changed in Java virtual machines over the past several years.
Also available in: Russian   Japanese  
Articles 27 Jan 2004
Java theory and practice: Whose object is it, anyway?
While garbage collection means that Java developers don't have to worry (much) about memory leaks, sometimes we still do have to worry about object ownership to prevent data races and unwanted side effects. In this article, Brian Goetz identifies some of the situations where Java developers must pay attention to object ownership.
Also available in: Russian   Japanese  
Articles 24 Jun 2003
Java web services: CXF performance comparison
Apache CXF shares certain underlying components with both Apache Axis2 and Metro but combines the components within an entirely different architecture. Dennis Sosnoski continues his Java web services column series by comparing how the CXF, Metro, and Axis2 stacks perform both with and without WS-Security.
Also available in: Chinese   Japanese   Portuguese  
Articles 27 Apr 2010
Java web services: WS-Security without client certificates
WS-Security symmetric encryption lets you secure message exchanges between client and server without requiring client certificates, simplifying your web service configuration while also providing performance benefits. You can use it directly or in the bootstrap for WS-SecureConversation exchanges. In this article, you'll learn how to configure and use symmetric encryption with the three main open source Java web services stacks: Axis2, Metro, and CXF. You'll also see how plain WS-Security symmetric encryption performance compares to WS-SecureConversation performance.
Also available in: Chinese   Japanese   Spanish  
Articles 03 Aug 2010
Making the cut: Top Java content from developerWorks
A quick rundown of the top content published in the Java hub in 2017.
Also available in: Chinese  
Articles 15 Jan 2018
Java technology zone technical podcast series: Season 1
For years, the Java zone has brought you top-quality technical content by some of the best minds in the industry. But taking the time to read an in-depth, code-heavy article can be difficult, even if it's about a topic that's critical to your day job. This new podcast series, led by the engaging and technically curious Andrew Glover, provides a new way to get information from the sources you trust most. Every few weeks, we'll publish a new discussion with an expert on the topics that are important to your job.
Also available in: Chinese   Portuguese  
Articles 28 Dec 2010
Faster problem solving in Java with heuristic search
Learn about the field of heuristic search and its application to artificial intelligence. This article's authors show how they arrived at a successful Java implementation of the most widely used heuristic search algorithm. Their solution exploits an alternative framework to Java Collections and uses best practices for avoiding excessive garbage collection.
Also available in: Chinese   Russian   Japanese  
Articles 16 Jul 2013
Transaction strategies: Understanding transaction pitfalls
Transaction processing should achieve a high degree of data integrity and consistency. This article, the first in a series on developing an effective transaction strategy for the Java platform, introduces common transaction pitfalls that can prevent you from reaching this goal. Using code examples from the Spring Framework and the Enterprise JavaBeans (EJB) 3.0 specification, series author Mark Richards explains these all-too-common mistakes.
Also available in: Chinese   Russian   Japanese  
Articles 03 Feb 2009
Java theory and practice: Going atomic
Until JDK 5.0, it was not possible to write wait-free, lock-free algorithms in the Java language without using native code. The addition of the atomic variable classes in java.util.concurrent changes that situation. Follow along with concurrency expert Brian Goetz as he explains how these new classes have enabled the development of highly scalable nonblocking algorithms in the Java language. Share your thoughts on this article with the author and other readers in the accompanying discussion forum.
Also available in: Russian   Japanese  
Articles 23 Nov 2004
Integrated Development Environment: C/C++ development with the Eclipse Platform
Learn how to use the C/C++ Development Toolkit (CDT), the best integrated development environment C/C++ toolkit available for Eclipse. And get an overview of how to use the Eclipse Platform, an integrated development environment for C and C++ development projects.
Also available in: Japanese   Portuguese  
Articles 27 Jun 2006
Hibernate simplifies inheritance mapping
Hibernate is an object-relational mapping and persistence framework that provides a lot of advanced features, ranging from introspection to polymorphism and inheritance mapping. But mapping class hierarchies to a relational database model might prove somewhat difficult. This article covers three strategies that you can use in your everyday programming to easily map complex object models to relational database models.
Also available in: Russian   Japanese  
Articles 14 Dec 2004
Robust Java benchmarking, Part 2: Statistics and solutions
Program performance is always a concern, even in this era of high-performance hardware. This article, the second in a two-part series, covers the statistics of benchmarking and offers a framework you can use to benchmark Java code ranging from self-contained microbenchmarks to code that calls a full application.
Also available in: Chinese   Japanese  
Articles 24 Jun 2008
Developing with real-time Java, Part 3: Write, validate, and analyze a real-time Java application
Building on the previous two articles in this three-part series and on the Real-time Java series, this article shows how to design, code, validate, and analyze a basic real-time application. The emphasis is on the practical aspects of validating the achievement of an application's deterministic quality of service.
Also available in: Chinese   Russian   Japanese   Portuguese  
Articles 14 Oct 2009
Using Spark Streaming for keyword detection
As new kinds of devices connect to the internet, they generate petabytes of data every day. Companies analyze this valuable data to better understand and meet their customers’ needs. Streaming big data analytics gives users the ability to analyze data in real time, which is useful in time-critical applications like fraud detection. In this article, learn how to use the Spark Streaming platform for real-time keyword detection.
Also available in: Chinese  
Articles 26 Nov 2015
Java development 2.0: Sharding with Hibernate Shards
Sharding isn't for everyone, but it's one way that relational systems can meet the demands of big data. For some shops, sharding means being able to keep a trusted RDBMS in place without sacrificing data scalability or system performance. In this installment of the Java development 2.0 series, find out when sharding works, and when it doesn't, and then get your hands busy sharding a simple application capable of handling terabytes of data.
Also available in: Chinese   Russian   Japanese  
Articles 31 Aug 2010
Java development 2.0: JavaScript for Java developers
Java developers have historically perceived JavaScript as a toy language, both too lightweight for real programming and too clunky to be of use as a scripting alternative. And yet JavaScript is still around, and it's the basis of exciting web technologies like GWT and Node.js. In this installment of Java development 2.0, Andrew Glover explains why JavaScript is an important tool for the modern Java developer. He then gets you started with the syntax you need to build first-class applications for today's web, including JavaScript variables, types, functions, and classes.
Also available in: Chinese   Russian   Japanese   Portuguese  
Articles 26 Apr 2011
Monitor and estimate logical log usage in Informix Dynamic Server
This article will discuss in detail how to configure and manage logical logs. The article will also demonstrate a real life example how to estimate and predict logical log usage.
Articles 18 Nov 2003
Agile DevOps: Version everything
Which types of software-system artifacts should you version? In this Agile DevOps installment, DevOps expert Paul Duvall recommends that DevOps teams version application code, infrastructure, configuration, data, and even internal system artifacts to gain the capacity to deliver software to users quickly and often.
Also available in: Russian   Japanese   Portuguese  
Articles 27 Nov 2012
Groovier Spring, Part 2: Change application behavior at run time
The Spring Framework provides a solid foundation for Web and enterprise applications. Spring's support for dynamic languages like Groovy adds capabilities that can make your application architecture more flexible and dynamic. In the second and final installment of the Groovier Spring series, you'll learn how to change the behavior of Spring applications at run time using dynamically refreshable beans.
Also available in: Chinese   Russian   Japanese  
Articles 06 Jan 2009
In pursuit of code quality: Don't be fooled by the coverage report
Test coverage tools bring valuable depth to unit testing, but they're often misused. This month, Andrew Glover brings his considerable expertise in this area to his new series, In pursuit of code quality. This first installment takes a closer look at what the numbers on the coverage report really mean, as well as what they don't. He then suggests three ways you can use your coverage to ensure code quality early and often.
Also available in: Japanese  
Articles 31 Jan 2006
Introduction to Service Data Objects
If you think the J2EE programming models and APIs force developers to spend too much time on technology-specific configuration, programming, and debugging, then this article is for you! Many Java developers are skeptical about how heterogeneous data can be accessed uniformly, and have been disappointed in the various programming frameworks that propose to solve the problem. In this article, Java developers Bertrand Portier and Frank Budinsky introduce you to next-generation data programming with Service Data Objects (SDO).
Also available in: Russian   Japanese  
Articles 28 Sep 2004
Functional thinking: Thinking functionally, Part 3
Functional thinking series author Neal Ford continues his guided tour of functional programming constructs and paradigms. You'll look at number-classification code in Scala and take a glance at unit testing in the functional world. Then you'll learn about partial application and currying -- two functional approaches that facilitate code reuse -- and see how recursion fits into the functional way of thinking.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 28 Jun 2011
Functional thinking: Either trees and pattern matching
Scala's ability to perform dispatch based on pattern matching is a feature much envied by Java developers. This installment shows how a combination of standard data structures and generics provides a pattern-matching-like syntax in pure Java.
Also available in: Chinese   Russian   Japanese   Portuguese  
Articles 10 Jul 2012
Introduction to Jena
RDF is increasingly recognized as an excellent choice for representing and processing semi-structured data. In this article, Web Developer Philip McCarthy shows you how to use the Jena Semantic Web Toolkit to exploit RDF data models in your Java applications.
Also available in: Japanese  
Articles 23 Jun 2004
Java programming dynamics, Part 7: Bytecode engineering with BCEL
The Apache Byte Code Engineering Library (BCEL) lets you dig into the bytecode of Java classes. You can use it to transform existing class representations or construct new ones, and because BCEL works at the level of individual JVM instructions, it gives you the utmost power over your code. That power comes with a cost in complexity, though. In this article, Java consultant Dennis Sosnoski gives you the BCEL basics and guides you through an example BCEL application so you can decide for yourself if the power justifies the complexity.
Articles 14 Apr 2004
Prevent cross-site scripting attacks by encoding HTML responses
Uncover the basics of cross-site scripting attacks and learn how you can prevent them using a Java-based approach to encode HTML output from a server.
Also available in: Russian   Portuguese   Spanish  
Articles 30 Jul 2013
Simplify enterprise Java authentication with single sign-on
Faheem Khan shows you how to implement single sign-on (SSO) functionality on the Java platform. You'll see how you can use the GSS-API and Kerberos standards to abstract away some of the difficulty, and implement an SSO-based architecture with relative ease.
Articles 09 Sep 2003
The role of JNDI in J2EE
Mastering J2EE can be daunting, with an ever-growing list of technologies and acronyms. The Java Naming and Directory Interface (JNDI) has been at the core of the Java 2 Platform, Enterprise Edition (J2EE) from its inception, but it is often underutilized by novice J2EE developers. This article will help demystify the role of JNDI in J2EE applications and show how it can help decouple your application from the details of deployment.
Articles 13 Jan 2005
Compare JavaScript frameworks
Modern Web sites and Web applications tend to rely quite heavily on client-side JavaScript to provide rich interactivity, particularly through the advent of asynchronous HTTP requests that do not require page refreshes to return data or responses from a server-side script or database system. In this article, you will discover how JavaScript frameworks make it easier and faster to create highly interactive and responsive Web sites and Web applications.
Also available in: Chinese   Russian   Japanese  
Articles 02 Feb 2010
No enterprise application can escape time. Applications need to know what time it is and what time it's going to be, and sometimes they must calculate the path between the two. Using the JDK to do this job can be painful and tedious. Enter Joda-Time, an easy-to-use open source date/time library for the Java platform. As you'll see in this article, Joda-Time eases the pain and tedium of manipulating dates and time.
Also available in: Chinese   Japanese  
Articles 27 Oct 2009
Developing with real-time Java, Part 1: Exploit real-time Java's unique features
Real-time Java combines ease of programming in the Java language with the performance required by applications that must conform to real-time constraints. Extensions to the Java language provide features for real-time environments that are lacking in the traditional Java runtime environment. This article, the first in a three-part series, describes some of these features and explains how you can apply them to enable real-time performance in your own applications.
Also available in: Chinese   Russian   Japanese  
Articles 01 Sep 2009
Rock 'em, sock 'em Robocode!
Is it possible to learn inheritance, polymorphism, event handling, and inner classes, all while dodging bullets and executing precision attack maneuvers? A surprisingly addictive teaching-tool-turned-game-craze called Robocode is about to make this a reality for Java developers worldwide. Follow along as Sing Li disarms Robocode and starts you on your way to building your own customized lean, mean, fighting machine.
Also available in: Chinese   Japanese  
Articles 01 Jan 2002
Functional thinking: Functional features in Groovy, Part 1
Over time, languages and runtimes have handled more and more mundane details for us. Functional languages exemplify this trend, but modern dynamic languages have also incorporated many functional features to make developers' lives easier. This installment investigates some of the functional features already lurking in Groovy, showing how recursion hides state and how to build lazy lists.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 22 Nov 2011
An NIO.2 primer, Part 2: The file system APIs
This article, the second half of a two-part introduction to More New I/O APIs for the Java Platform (NIO.2), covers the most useful classes and functionality in the new java.nio.file package and subpackages. As in Part 1's discussion of the NIO.2 asynchronous channel APIs, the authors demonstrate the concepts involved with extensive code examples.
Also available in: Japanese  
Articles 21 Sep 2010
z/OS concepts for Java developers
Get an overview of the z/OS(R) world for Java(TM) developers and learn how to deploy a Java application on z/OS.
Articles 03 Oct 2006
Threading lightly, Part 1: Synchronization is not the enemy
Unlike many other programming languages, the Java Language Specification included explicit support for threading and concurrency. While having language support for concurrency makes it easier to specify and manage constraints on shared data and the timing of operations across threads, it doesn't make the complexities of concurrent programming any easier to understand. This three-part series aims to help programmers understand some of the major issues behind multithreaded programming in the Java language, and in particular to understand the impact of thread safety on Java program performance.
Also available in: Japanese  
Articles 17 Jul 2001
Real-time Java, Part 3: Threading and synchronization
This article, the third in a six-part series on real-time Java, examines aspects of threading and synchronization that an implementation of the Real-time Specification for Java (RTSJ) must support. You'll also learn about related threading and synchronization concerns that are essential to keep in mind when you develop and deploy real-time applications.
Also available in: Chinese   Japanese  
Articles 24 Apr 2007
Demystifying class loading problems, Part 2: Basic class loading exceptions
This four-part article series examines Java class loading to help application developers understand and debug problems they may encounter. In Part 2, authors Lakshmi Shankar and Simon Burns from the IBM Hursley Labs tackle some exceptions that, while fairly simple, often puzzle novice and experienced Java developers alike.
Also available in: Japanese  
Articles 06 Dec 2005
Demystifying class loading problems, Part 3: Tackling more unusual class loading problems
This four-part article series examines Java class loading, in an effort to help application developers understand and debug problems they may encounter. In Part 3, authors Lakshmi Shankar and Simon Burns from the IBM Hursley Labs build on the first two parts of the series and detail different kinds of class loading problems, including those related to classpaths, class visibility, and garbage collection.
Articles 13 Dec 2005
Evolutionary architecture and emergent design: Test-driven design, Part 1
Most developers think that the most beneficial part of using test-driven development (TDD) are the tests. But, when done right, TDD improves the overall design of your code. This installment in the Evolutionary architecture and emergent design series walks through an extended example showing how design can emerge from the concerns that float up from testing. Testing is only a side effect of TDD; the important part is how it changes your code for the better.
Also available in: Chinese   Russian  
Articles 24 Feb 2009
Eclipse and HSQLDB: Embedding a relational database server into Eclipse, Part 1
This article shows how to develop a plug-in that embeds the HSQLDB pure-Java relational database server into the Eclipse Workbench. Although not as powerful as DB2 and not as popular as MySQL, HSQLDB (the hypersonic SQL database) can satisfy the needs of a wide range of Java applications, because of its extensibility and low memory/processor requirements.
Also available in: Japanese   Spanish  
Articles 30 Sep 2003
Advanced DAO programming
J2EE developers use the Data Access Object (DAO) design pattern to separate low-level data access logic from high-level business logic. Implementing the DAO pattern involves more than just writing data access code. In this article, Java developer Sean C. Sullivan discusses three often overlooked aspects of DAO programming: transaction demarcation, exception handling, and logging.
Also available in: Japanese  
Articles 07 Oct 2003
Java theory and practice: Building a better HashMap
Brian Goetz dives into the code of ConcurrentHashMap and looks at how it achieves excellent throughput and concurrency without compromising thread safety.
Also available in: Russian   Japanese  
Articles 21 Aug 2003
Verify and convert JSON payloads dynamically for cloud-based applications
This article presents a solution architecture that facilitates JavaScript Object Notation (JSON) validation and transformation for the benefit of cloud consumers and cloud service providers.
Also available in: Chinese   Japanese  
Articles 02 Oct 2013
Capturing screen shots and program interaction on UNIX and Linux systems: Part 1, Program interaction
Taking screen shots and capturing interaction between a program and user is something that all technical writers, most developers, and many technical marketing staff need to do. Modern UNIX systems provide a number of different tools to capture the text-oriented interaction between a user and a specific program and to capture graphical screens and single windows. This article, the first of three, focuses on different ways to keep a record of the interaction between a user and a command-line application. Capturing user input and program output is valuable, not just for internal or external documentation, but also for use as a common debugging mechanism for many application developers.
Also available in: Chinese  
Articles 22 Jun 2010
Read, recycle, and reuse: Reporting made easy with Excel, XML, and Java technologies, Part 1
Extracting business data is a challenge every company faces. Discover some of the secrets to extracting data from Excel and converting it between Excel and XML using Java technology.
Also available in: Chinese   Japanese   Portuguese  
Articles 02 Mar 2010
Use functional programming techniques to write elegant JavaScript
Functional, or declarative, programming is a very powerful programming method and is gaining popularity in the software industry. This article introduces some of the relevant functional programming concepts, and provides examples to use those concepts effectively. The author explains how to write elegant code with JavaScript(TM), which can import constructs and features from functional programming.
Also available in: Japanese  
Articles 13 Jun 2006
Agile DevOps: Test-driven infrastructure
Few in the software industry question that writing automated tests for application code is a good practice. Teams are now applying similar automated testing practices to infrastructure and environments. In this Agile DevOps installment, DevOps expert Paul Duvall covers writing automated tests for your infrastructure using tools such as Cucumber with Gherkin. These tests can be run in conjunction with every scripted change to the infrastructure to ensure quick feedback when a change introduces an error into an environment.
Also available in: Russian   Japanese  
Articles 06 Nov 2012
Meet the Object/XML mapping support in Spring
Within the Java Platform, Enterprise Edition (Java EE) community, Spring is becoming a widely accepted framework. One new feature in the latest release of Spring is its Object/XML (O/X) mapping support. The API enables developers to convert Java objects into XML and vice versa. In this article, learn to use the Object/XML mapping in Spring and explore its advantages.
Also available in: Chinese   Japanese  
Articles 20 Oct 2009
Practically Groovy: Building, parsing, and slurping XML
Learn how easy it is to slice and dice XML using Groovy. In this installment of Practically Groovy, author Scott Davis shows that whether you're creating XML with MarkupBuilder and StreamingMarkupBuilder, or parsing XML with XmlParser and XmlSlurper, Groovy offers a set of compelling tools for dealing with this ubiquitous data format.
Also available in: Chinese   Japanese  
Articles 19 May 2009
혁신적인 아키텍처와 창발적 설계: 유연한 인터페이스
혁신적인 아키텍처와 창발적 설계 시리즈의 이번 기사에서는 창발적 설계의 관용적 패턴 기술을 획득하는 과정을 계속해서 살펴봅니다. 재사용 가능한 패턴을 식별할 때는 이 패턴을 나머지 코드와 구별되는 방식으로 캡처해야 합니다. DSL(Domain Specific Language)에는 데이터와 기능을 간결하게 캡처할 수 있는 많은 기능이 있습니다. 이번 달에는 Neal Ford가 관용적인 도메인 패턴을 캡처하는 내부 DSL을 빌드하는 세 가지 방법을 설명합니다.
Articles 13 Jul 2010
Functional thinking: Functional design patterns, Part 2
Design patterns represent just one way to solve problems, but if you primarily use object-oriented languages, you may come to think in design patterns. In this installment of Functional thinking, Neal Ford illustrates solutions to a common problem -- incompatible interfaces -- using traditional design patterns, metaprogramming, and functional composition. Each approach has pros and cons, but thinking about the design of the solutions helps you see problems in new ways.
Also available in: Chinese   Russian   Japanese  
Articles 03 Apr 2012
Using the Java language NamespaceContext object with XPath
If you want to use namespaces in XPath expressions, you have to provide the link of the used prefix to the URI of the namespace. This article describes three variants of providing the prefix to namespace mapping. It contains example code to make it easy to code your own NamespaceContext.
Also available in: Chinese  
Articles 19 May 2009
Transaction strategies: The High Concurrency strategy
Transaction strategies series author Mark Richards describes how to implement a transaction strategy in the Java platform for applications with high-throughput and high-user-concurrency requirements. An understanding of the trade-offs involved will help you ensure a high level of data integrity and consistency -- and spare you painful refactoring work late in the development process.
Also available in: Chinese   Japanese  
Articles 16 Jun 2009
Thanks for the memory, Linux
Running out of Java heap isn't the only cause of a java.lang.OutOfMemoryError. If native memory runs out, OutOfMemoryErrors that your normal debugging techniques won't be able to solve can occur. This article explains what native memory is, how the Java runtime uses it, what running out of it looks like, and how to debug a native OutOfMemoryError on Windows and Linux. A companion article covers the same topics for AIX systems.
Also available in: Chinese   Russian  
Articles 21 Apr 2009
JSF 2 fu: HTML5 composite components, Part 1
HTML5 gives browser-based applications rich features rivaling those of desktop software. In this JSF 2 fu installment, you'll see how you can get the best of the Java and HTML5 worlds by implementing an HTML5 composite component with JavaServer Faces (JSF) 2.
Also available in: Chinese   Japanese   Portuguese  
Articles 12 Oct 2010
Discover MongoDB quiz
Test your MongoDB knowledge and skills and you'll be able to quickly assess how well you've mastered key information and coding techniques you've learned.
Also available in: Chinese   Japanese  
Articles 04 Dec 2012
Agile DevOps: Unleash the Chaos Monkey
When would it ever be a good idea to randomly and intentionally try to terminate parts of your software system -- including the hardware it runs on? How about early and often? In this Agile DevOps installment, DevOps expert Paul Duvall describes approaches to creating a Chaos Monkey (as it's been dubbed by Netflix) to ensure that your production infrastructure can recover from inevitable system failures.
Also available in: Russian   Japanese   Portuguese  
Articles 23 Oct 2012
The busy Java developer's guide to Scala: Implementation inheritance
Scala gives you just as much support for implementation inheritance as the Java language does -- but Scala's inheritance yields a few surprises. This month, Ted Neward introduces you to polymorphism done the Scala way, blending functional and object-oriented language styles while still mapping perfectly to the Java platform's inheritance model.
Also available in: Chinese   Russian   Japanese  
Articles 28 May 2008
Resolve common concurrency problems with GPars
Alex Miller shows you how to use the Groovy-based DSLs found in GPars to solve common concurrency problems.
Also available in: Chinese   Russian   Japanese  
Articles 07 Sep 2010
Java Web services: Axis2 WS-Security signing and encryption
Get an introduction to the principles of public key cryptography, then see how WS-Security applies them for signing and encrypting SOAP messages using public-private key pairs in combination with secret keys. Dennis Sosnoski continues his Java Web services series with a discussion of WS-Security and WS-SecurityPolicy signing and encryption features, along with example code using Axis2 and Rampart.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 16 Jun 2009
Evolutionary architecture and emergent design: Investigating architecture and design
Software architecture and design generate a lot of conversational heat but not much light. To start a new conversation about alternative ways to think about them, this article launches the Evolutionary architecture and emergent design series. Evolutionary architecture and emergent design are agile techniques for deferring important decisions until the last responsible moment. In this introductory installment, series author Neal Ford defines architecture and design and then identifies overarching concerns that will arise throughout the series.
Also available in: Chinese   Russian   Spanish  
Articles 24 Feb 2009
Fuzz testing
Fuzz testing is a simple technique that can have a profound effect on your code quality. In this article, Elliotte Rusty Harold shows what happens when he deliberately injects random bad data into an application to see what breaks. He also explains how to use defensive coding techniques such as checksums, XML data storage, and code verification to harden your programs against random data. He concludes with an exercise in thinking like a code cracker -- a crucial technique for defending your code.
Also available in: Chinese   Russian   Japanese  
Articles 26 Sep 2006
Design with the JSF architecture
In this article, author Anand Joshi explains the JavaServer Faces (JSF) architecture using design patterns in the JSF framework. He discusses Gang of Four design patterns employed in the JSF architecture, and how they work within the JSF framework. Anyone with a general knowledge of design patterns and JSF architecture will learn from Anand's detailed guide. *Readers should have a good knowledge of Gang of Four design patterns and JSF technology.
Articles 02 Dec 2005
Java development 2.0: Redis for the real world
Redis has a lot in common with memcached but it boasts a richer set of features. In this month's Java development 2.0, Andrew experiments with adding Redis (by way of Java-based variant Jedis) to his location-based mobile application. Learn how Redis works as a simple data store, then try repurposing it for ultra-fast, lightweight caching.
Also available in: Chinese   Russian   Japanese  
Articles 13 Dec 2011
Create test cases for Web applications
Looking for a way to apply automated testing techniques to Web development? Look no further. jWebUnit, which plugs easily into most Java IDEs, is an open source framework for creating test cases for Web applications. Software engineer Amit Tuli introduces jWebUnit by using a sample application to describe a step-by-step approach for generating concise test cases.
Also available in: Japanese  
Articles 16 Dec 2004
Debug Java applications remotely with Eclipse
You don't need to debug Java applications on just your local desktop. Learn how to spread around your debugging using different connection types that make up remote debugging. This article outlines the features and examples that show how to set up remote application debugging.
Also available in: Russian   Japanese  
Articles 09 Dec 2008
Java programming dynamics, Part 2: Introducing reflection
In Part 2 of his series on Java platform internals, Dennis Sosnoski provides an introduction to using reflection, as well as a look at some of the costs involved. You'll also find out how the Java Reflection API lets you hook into objects at run time.
Also available in: Chinese   Japanese  
Articles 03 Jun 2003
FindBugs, Part 1: Improve the quality of your code
Static analysis tools promise to find existing bugs in your code without requiring much effort on the part of the developer. Of course, if you've been programming for long, you know those promises don't always pan out. Even so, good static analysis tools are a valuable addition to your toolbox. In this first of a two-part series, Senior Software Engineer Chris Grindstaff looks at how FindBugs can help improve the quality of your code and eliminate bugs lying in wait. Don't miss Part 2 of this series to get the final part of the story.
Also available in: Japanese  
Articles 25 May 2004
Introduction to VoltDB
Learn about VoltDB, an in-memory database that offers the scalability of NoSQL databases with the ACID-compliance of traditional relational database systems. You'll design and partition database tables, store and retrieve data with stored procedures written in Java code. You'll also explore VoltCache, a key-value store built on top of VoltDB.
Also available in: Chinese   Japanese  
Articles 11 Dec 2012
Linux Unicode programming
A multi-byte character representation system for computers, Unicode provides for the encoding and exchanging of all of the text of the world's languages. This article explains the importance of international language support and the concepts of designing and incorporating Unicode support in Linux applications.
Articles 01 Aug 2001
Get a better handle on Struts actions, with Spring
Struts Recipes co-author George Franciscus is back with another great Struts integration recipe -- this time for importing Struts applications into the Spring framework. Follow along as George shows you how to revamp Struts actions so they can be managed just like Spring beans. The result is a boosted Web framework that easily reaps the benefits of Spring AOP.
Articles 11 Oct 2005
Invoke dynamic languages dynamically, Part 1: Introducing the Java scripting API
You don't need to compile dynamic languages into Java bytecode to use them with a Java application. Dozens of scripting languages can be called at run time from Java code in a simple, unified way using the scripting package added to Java Platform, Standard Edition 6 (Java SE) and backward compatible with Java SE 5. Part 1 of this two-part article introduces the Java scripting API's features. It uses a simple Hello World application to show how Java code can execute scripting code and how scripts can in turn execute Java code. Part 2 dives deeper into the power of the Java scripting API.
Also available in: Chinese   Russian   Japanese  
Articles 04 Sep 2007
Client and server-side templating with Velocity
Velocity is a versatile, open source templating solution that can be used standalone in report generation/data transformation applications, or as a view component in MVC model frameworks. In this article, Sing Li introduces Velocity and reveals how you can integrate its template-processing capabilities into your own client-side standalone application, server-side Web application, or Web services.
Articles 10 Feb 2004
The busy Java developer's guide to Scala: Functional programming for the object oriented
The Java platform has historically been the province of object-oriented programming, but even Java language stalwarts are starting to pay attention to the latest old-is-new trend in application development: functional programming. In this new series, Ted Neward introduces Scala, a programming language that combines functional and object-oriented techniques for the JVM. Along the way, Ted makes the case for why you should take the time to learn Scala -- concurrency, for one -- and shows you how quickly it will pay off.
Also available in: Chinese   Russian   Japanese  
Articles 22 Jan 2008
Writing great code with the IBM FileNet P8 APIs, Part 3: Take a number
Yes, you, too, can have an ECM-backed corner bakery with a tidy customer queue! Just have them take a number. This article discusses implementation techniques for getting reliably unique sequence numbers from a FileNet P8 repository. Some of the obvious approaches have hidden dangers, but a correct and useful approach is simple and performant. Along the way to solving this common problem, we'll see some things about P8 development that have a much wider scope.
Articles 15 Oct 2009
Java Web services: Axis2 WS-Security basics
Learn how to add the Rampart security module to Apache Axis2 and start using WS-Security features in your Web services. Dennis Sosnoski resumes his Java Web services series with a look at WS-Security and WS-SecurityPolicy use in Axis2, starting with UsernameToken as a simple first step. The next few columns will take you further with WS-Security and WS-SecurityPolicy, as implemented by Axis2 and Rampart.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 26 May 2009
Robots, mazes, and subsumption architecture
Robot simulators can be both serious research tools and, as IBM computer programmer Paul Reiners shows in this article, a route to some serious fun with Java programming. Find out how to create light-seeking and maze-navigating virtual robots in the Java language using Simbad -- an open source robot simulator based on Java 3D technology -- to realize the robotics-design concept of subsumption architecture.
Also available in: Chinese   Russian   Japanese  
Articles 04 Dec 2007
Unit testing with mock objects
Mock objects are a useful way to write unit tests for objects that act as mediators. However, when the tested object must create the domain object, how does it know to create a mock domain object instead of the true domain object? In this article, software consultants Alexander Day Chaffee and William Pietri present a refactoring technique to create mock objects based on the factory method design pattern.
Also available in: Japanese  
Articles 01 Nov 2002
Boost JDBC application performance using the IBM Data Server Driver for JDBC and SQLJ
Developing high performing JDBC applications is not an easy task. This article helps you gain a better understanding of the factors that contribute to your JDBC application performance using the IBM Data Server Driver for JDBC and SQLJ to access DB2 and Informix. Learn to identify these issues and to find and alleviate client-side bottlenecks.
Articles 01 Nov 2012
Process real-time big data with Twitter Storm
Storm is an open source, big-data processing system that differs from other systems in that it's intended for distributed real-time processing and is language independent. Learn about Twitter Storm, its architecture, and the spectrum of batch and stream processing solutions.
Also available in: Chinese   Russian   Japanese   Portuguese   Spanish  
Articles 02 Apr 2013
Understanding how Eclipse plug-ins work with OSGi
The core of the Eclipse integrated development environment (IDE) and Eclipse Rich Client Platform (RCP) applications is driven by an implementation of the Open Services Gateway Initiative (OSGi) specification. This article illustrates Eclipse's relationship with OSGi by describing what a plug-in is in terms of the Eclipse platform and traces the evolution of plug-ins from Eclipse V2.1 through today's OSGi-based implementation. It also explains the OSGi file options, along with the additions provided through Eclipse.
Articles 06 Jun 2006
Access z/OS batch jobs from Java
Java (TM) can provide a simple way to submit z/OS(R) batch jobs to run -- but that is just the beginning. You can also use Java, from any platform, to check on the status of your z/OS batch jobs. This article is a follow-on to developerWorks article, "Submit batch jobs from Java on z/OS."
Articles 19 Dec 2006
StAX'ing up XML, Part 1: An introduction to Streaming API for XML (StAX)
The Streaming API for XML (StAX) is the latest standard for processing XML in the Java (TM) language. As a stream-oriented approach, it often proves a better alternative to other methods, such as DOM and SAX, both in terms of performance and usability. This article, the first in a three part series, provides an overview of StAX and describes its cursor-based API for processing XML.
Also available in: Russian  
Articles 29 Nov 2006
Understanding pureQuery, Part 1: pureQuery: IBM's new paradigm for writing Java database applications
The project called pureQuery gives database application developers an easy, GUI-based means to significantly increase productivity in both the design and implementation phases. This is accomplished through user-initiated automatic transformation of relational data into Java objects for access and manipulation of data. In turn, these objects can be seamlessly utilized in a natural OO programming paradigm to write the business logic and the underlying code. pureQuery's functionality in effect eliminates traditional JDBC programming by integrating the query language with Java itself.
Also available in: Chinese   Japanese  
Articles 14 Dec 2007
Next-generation search and analytics with Apache Lucene and Solr 4
Apache Lucene and Solr are highly capable open source search technologies that make it easy for organizations to enhance data access dramatically. With the 4.x line of Lucene and Solr, it's easier than ever to add scalable search capabilities to your data-driven applications. Lucene and Solr committer Grant Ingersoll walks you through the latest Lucene and Solr features that relate to relevance, distributed search, and faceting. Learn how to leverage these capabilities to build fast, efficient, and scalable next-generation data-driven applications.
Also available in: Chinese   Japanese  
Articles 28 Oct 2013
Use JavaFX to quickly create applications
Learn how to develop JavaFX-based Rich Internet Applications using the Eclipse IDE. This article introduces you to JavaFX and explains how to use it in conjunction with the JavaFX Eclipse plug-in to quickly build GUI applications. Explore some of the JavaFX features by building a sample application for both the desktop and a mobile emulator. Also learn to create rudimentary animation.
Also available in: Chinese   Japanese  
Articles 12 Oct 2010
Refactoring for everyone
Eclipse provides a powerful set of automated refactorings that, among other things, let you rename Java elements, move classes and packages, create interfaces from concrete classes, turn nested classes into top-level classes, and extract a new method from sections of code in an old method. Becoming familiar with Eclipse's refactoring tools is a good way to improve your productivity. This survey of Eclipse's refactoring features, with examples, demonstrates how and why to use each.
Also available in: Russian   Japanese   Vietnamese  
Articles 09 Sep 2003
Using MapReduce and load balancing on the cloud
Learn how to implement the Hadoop MapReduce framework in a cloud environment and how to use virtual load balancing to improve the performance of both a single- and multiple-node system.
Also available in: Chinese   Russian   Japanese   Portuguese   Spanish  
Articles 19 Jul 2010
Java development 2.0: Big data analysis with Hadoop MapReduce
Apache Hadoop is currently the premier tool used for analyzing distributed data, and like most Java 2.0 technologies, it's built to scale. Get started with Hadoop's MapReduce programming model and learn how to use it to analyze data for both big and small business information needs.
Also available in: Chinese   Russian   Japanese  
Articles 18 Feb 2011
Creating a declarative XML UI language
Writing GUIs in program code can often lead to messy design choices, which in turn results in a blurring between business logic and UI code. Discover how to create a declarative XML UI tag set with an accompanying Java(TM) framework that parses, validates, constructs, and finally binds the declared GUI components to business logic at runtime.
Also available in: Chinese   Russian  
Articles 01 Sep 2009
1 - 100 of 787 results | Next
Show Summaries | Hide Summaries