Unlike the HTTP protocol there's no stable default JMS listener for invoking
the Web Services exposed in Apache Axis 1.x using JMS (Java Message Service)
as the transport protocol - other than the one provided merely for demo
purposes.
This article describes a fully working generic JMS listener that can act as a
JMS transport receiver handler for Axis and allow service clients to uniquely
address individual Web Services in a JMS way and invoke them over JMS.
Apache Axis is a popular Java-based Open Source platform for exposing Web
Services. It has native support for handling invocations into Web Services
based on the SOAP (Simple Object Access Protocol) application protocol. By
default, the Axis server supports HTTP as the protocol for transporting the
SOAP payload and provides an HTTP transport listener to do the same on its
own. The HTTP transport listener accepts... (more)
In Part 1 of this article, I introduced rich client development, available
architectures for developing rich client applications based on the Swing
toolkit, and technologies that could be used to make development more
productive.
In this second part, I'll compare the most popular IDEs and evaluate them
with an eye to Swing development for rich client applications.
Swing-based Rich Clients: Support for Java IDEs
There are many development environments available for the Java platform, each
of them provides all sorts of features that can be applied in developing
various kinds of Java applications - Web applications, desktop applications,
mobile applications, SOA, etc. - and use the various Java distributions -
Java EE, Java SE, Java ME.
In this article Java IDE evaluation is restricted to rich client application
development based on a Swing front-end. Hence in this IDE ... (more)
CounterPath Corporation, a leading developer of award-winning desktop, tablet
and mobile VoIP software products and solutions, Tuesday announced its suite
of telecommunications solutions will be showcased at Oracle OpenWorld 2013 in
San Francisco on September 22-26.
OpenWorld attendees will have the opportunity to see CounterPath's Bria
softphone solutions leveraged in live demonstrations of Oracle's Tunneled
Service Control Function (TSCF), which delivers an infrastructure-based
alternative for real-time, over-the-top (OTT) communications that enables
increased secure connectivity, enhanced firewall traversal, and
interoperability with newly acquired Acme Packet SBCs. Additionally, Oracle
is demonstrating their WebRTC solution and using CounterPath's Bria
connecting endpoint. Bria will enable Oracle's Unified Communications Suite
to demonstrate its XMPP-based mess... (more)
Fundamentally, SDN is still mostly about network plumbing. While plumbing may
be useful to tinker with, what you can do with your plumbing is far more
intriguing. A rigid interpretation of SDN confines it to Layers 2 and 3, and
that's reasonable. But SDN opens opportunities for novel constructions in
Layers 4 to 7 that solve real operational problems in data centers. "Data
center," in fact, might become anachronistic - data is everywhere, constantly
on the move, seemingly always overflowing. Networks move data, but not all
networks are suitable for all data.
In his session at 15th Cloud Expo, Steve Riley, Technical Leader in the
Office of the CTO at Riverbed Technology, will discuss how finding (or
building) the right network, with the right applications, is still a
labor-intensive task. Must it always be this way? No: for networks will soon
be expressed as code.... (more)
One of the strengths of Java is the abundance of standard APIs for doing
everything from enterprise-level data access to manipulating data structures,
sending and receiving e-mail and building GUIs. This broad sweep of APIs
makes choosing how to implement the various parts of an application much
simpler, but it also presents a problem: How do you best use the API?
Javadocs the raw API documentation are never enough for this purpose
because they concentrate on each class or interface as a separate entity from
the other classes. API specifications aren't much better because they deal
with the minutiae of the API and with being a correct specification of how
everything works. The most useful tool I've found for any newcomer to an API
is the Java Tutorials (www.java.sun.com/docs/books/tutorial/index.html).
These Tutorials guide you to correct and efficient use of an ... (more)
As a consultant, developer and database administrator, I've often been asked
to provide coding guidelines and tuning assistance for Java code that
utilizes JDBC. Over time, I've been introduced to or developed standard
coding practices that make JDBC code faster and less error-prone, and easier
to read, understand and use. This article documents some of the more
important "best practices" for using JDBC libraries to perform database
access. As most of my clients are using Oracle database technologies, I've
included several practices that are Oracle-specific.
For the purposes of this article the goals of best practices for JDBC
programming are maintainability, portability and performance. Maintainability
refers to the ease with which developers can understand, debug and modify
JDBC code that they didn't write. Portability refers to the ease with which
JDBC code can ... (more)
(November 26, 2002) - JTurbo JDBC Driver for Microsoft SQL Server is now
certified for J2EE 1.3. With this Sun Microsystems standards-based
certification, JTurbo delivers up-to-date compliance and reliability to its
customers. JTurbo, New Atlanta's Type 4 driver for SQL 6.5, 7.0 and 2000, is
available for download from www.newatlanta.com/jturbo.
The Sun Microsystems product certification testing was performed by KeyLabs,
(Lab Acquisition Corp), an independent testing center authorized by Sun to
perform the JDBC certification test cases. JTurbo 3.0 was tested for
compliance on Sun Ultra 10 using Solaris 8, CDE 1.4 and Solaris 8 with
Recommended Cluster Patches. Tools used by KeyLabs during the certification
testing process include: Java Platform tested against JDK 1.4, J2EE 1.3.1,
and JavaTest 2.1.5.
Designed for optimal performance and scalability, JTurbo supports pl... (more)
(March 27, 2003) - The latest edition of Systinet's WASP Developer product,
which seamlessly extends the industry's most popular Java IDEs to support Web
services creation, debugging and deployment, is now available. WASP Developer
4.5 provides a point-and-click experience that turns any existing Java
application into a Web service in minutes, allowing customers to leverage the
benefits of Web services quickly and efficiently. WASP Developer 4.5 is
updated to supports the latest editions of Sun ONE Studio/NetBeans, Eclipse,
IBM WebSphere Studio Application Developer, and Borland JBuilder and is
available for free download at www.systinet.com.
WASP Developer 4.5 can automatically generate client-side code for an
existing Web service, regardless of where it is running, what programming
language is used for development, or what SOAP implementation it is running
on. WAS... (more)
I'm sure we've all heard it before: Java on the client is slow; Swing is
slow. The reality is that Sun has made great progress in increasing the speed
of Swing and Java on the client.
However, it's up to developers to demonstrate that Java has indeed improved
to the point of usability and viability on the client.
To do this, the code needs to be very lean and clean. One of the original
problems with GUI creation was the reliance upon Visual Development Tools to
design and code the GUI. While these VDTs have come a long way in the last
few years, I have found that many developers rely so heavily on the VDTs that
they've gotten lazy when it comes to coding the actual functionality of the
application.
The Problem
Methods are expensive in terms of execution time. The more method calls made,
the slower the application will be. However, there needs to be a balance
betwee... (more)
If the answer is no, at a minimum your project needs a code review.
Let's work on the following assignment: a company has employees and
consultants. Design classes with and without the use of inheritance to
represent the people who work for this company. The classes should have the
following methods:
changeAddress promote giveDayOff raiseSalary
Promotion means giving one day off and raising the salary by a specified
percentage. For employees, the method raiseSalary should raise the yearly
salary and, for consultants, it should increase their hourly rate.
Abstract Classes
A class is called abstract if it has at least one abstract (not implemented)
method. The keyword abstract has to be placed in the definition of the
method(s) and the class itself. For example, the class in Listing 1 has three
concrete methods and one abstract. (The link to the source code is availab... (more)
Read this Article in .PDF Format Read JDJ's Exclusive Interview with Alfred
Chuang Read Scott McNealy's 2004 Predictions Read From the Publisher...
"Some of the remaining visionary talent at Sun will finally become so
frustrated with the company's handling of Java that they will quit in
disgust."
- Rick Ross, Founder & CEO Javalobby
"So where is it all going?" It's the question every technology sage is always
asked, and yet, of course, it's the question that's the most difficult to
answer.
Here at JDJ we decided nonetheless to ask a welter of the brightest and most
prescient i-technology professionals what they are seeing, what they think
the individual pieces in 2004 are, and how those pieces fit into the bigger
picture.
Java features prominently, Web services (and associated technologies) looms
large, and SOAs (service-oriented architectures) make their debut, bui... (more)