| Home : Java : J2EE |
| Click "Subscribe" if you want to be notified of new or updated links in this category. | Subscribe |
|
|
J2EE Listings
|
|
Total:
100 | Displaying: 91 - 100 | Pages: << 1 2 3 4 5 6 7 8 9 10 |
|
|
|
Pulling just a single node value or attribute from an XML document can be inefficient if you have to parse over a whole list of nodes you don't want, just to get to one you do. XPath can be much more efficient, by letting you specify the path to the desired node up front. J2SE adds XPath support, and the JDOM API also offers support through an XPath class. Deepak Vohra looks at both approaches.
Updated: 02/28/2005
|
|
|
Unit testing your code against a service or process that's either too expensive (commercial databases) or just not done yet is something you can deal with by simulating the other piece with a mock object. EasyMock can suffice in some cases, but it can only create mock objects for interfaces. Mocquer, based on the Dunamis project, can create mocks for classes, too. Lu Jian shows how it works.
Updated: 02/28/2005
|
|
|
Realtime multicast streaming came to QuickTime in version 5, but now, years later, it's not widely realized that it can be called from QuickTime for Java. Chris Adamson, author of QuickTime for Java: A Developer's Notebook, shows how it works.
Updated: 02/28/2005
|
|
|
This article summarizes the results of the recent reader survey, including favorite tools, platforms, and what you want to see on the site in 2005.
Updated: 02/28/2005
|
|
|
Having your Java apps run correctly both down the street and across the globe presents some hefty challenges. Part one of this two-part excerpt from Java Examples in a Nutshell, 3rd Edition covered the first two steps to internationalization in Java: using Unicode character encoding and handling local customs. This week deals with the third step in the process: localizing user-visible messages.
Updated: 02/24/2005
|
|
|
Recently, JBoss introduced a new open source remoting framework called JBoss Remoting. It serves as the core framework for the next generation (v5.0) JBoss Application Server (AS) to provide remote services--things like remoting JMX MBeans, remoting EJBs, and so on. JBoss Remoting can also be used as a standalone framework to build network-aware services independent of the JBoss AS.
Updated: 02/24/2005
|
|
|
EJBs are the de facto standard when it comes to server-side components developed in J2EE. Session beans are used for business logic components and are primarily of two types: Stateful and Stateless. The type of the bean, stateful or stateless, is decided at deployment time through some deployment parameters. There are many scenarios where the decision of needing a stateful bean can be deferred until runtime. This article explains a pattern that can be used to dynamically choose a stateful bean at runtime.
Updated: 02/24/2005
|
|
|
In the second part of this series, I introduced high-level J2ME user interface components that provide the same look and feel as the native applications of a MIDP device. They offer functionality that is usually needed in general desktop programs. However, these productivity components are totally ill-suited to games, 3D, or multimedia, for which would we probably be better off writing the visuals directly to the display. Fortunately, this need is addressed by javax.microedition.lcdui.Canvas and related classes.
Updated: 02/22/2005
|
|
|
Internationalization is the process of making a program flexible enough to run correctly in any locale. The required corollary to internationalization is localization—the process of arranging for a program to run in a specific locale.
Updated: 02/17/2005
|
|
|
It's difficult, maybe impossible, to know up front how much or in what ways your application will need to scale. But by decoupling parts of the application, you can at least ensure that the scaling process can be kept modular. This articles explainshow some sharable pieces of the MantaRay messaging system can allow your app to grow beyond one box.
Updated: 02/17/2005
|
|
|
J2EE Listings
|
|
Total:
100 | Displaying: 91 - 100 | Pages: << 1 2 3 4 5 6 7 8 9 10 |
|
|