Web Services Platform Architecture - Soap, Wsdl, Ws-Policy, Ws-Addressing, Ws-Bp
Prentice Hall - Web Services Platform. Architecture - Soap, Wsdl, Ws-Policy, Ws-Addressing, Ws-Bpel, Ws-Reliable Messaging, And More (March 22, 2005).part1prentice hall - web services platform. archi...
WB SERVICE书籍全集!!!
1oreilly - programming web services with xml-rpc.chm(2006-05-03 17:08:07, Size: 428 KB, Downloads: 6508)
Multicore processing for client-side Java applications
It's a well-known fact that hardware companies are abandoning the race for single-CPU speed and instead are focusing on multicore processors. Despite the fact that many algorithms can be easily parallelized, most client-side Java code is still written for single-CPU systems. In this article Kirill Grouchnikov shows you how to fine-tune a core JDK array-sorting algorithm for improved processing speed of as much as 35%. [@more@]The consistent increase in single-core CPU speed that programmers coul
The AjaxCommand strategy for JSF
As JavaServer Faces continues to mature and its component libraries grow more robust, it becomes an ever more compelling option for enterprise Web application development. Ajax has passed the stage of being the hot new thing to become an expected aspect of competitive Web applications. Marrying the two isn't necessarily difficult, but it does present some interesting puzzles. In this article, Java developer Matthew Tyson tackles one such puzzle: how to handle a single (or similar) Ajax request a
Integrating Macromedia Flex with Java
Developing Internet applications with J2EE servers today usually consists of a presentation layer such as Struts, Tapestry, WebWork, or Spring. These tools generally follow Model-View-Controller (MVC) architecture and output HTML to a browser. The typical programming model for web development is to allow users to issue requests to an application server for each action in the application. For every action the user requests in the application, the server generates a new response that allows the us
Wire Hibernate Transactions in Spring
This article is intended to show how Spring can be used to assemble components, including their transaction contexts. Connecting to a single data store from within a J2EE application is not a big hurdle. But when it comes to assembly and integration of enterprise-class components, the scenario gets complicated. A single component would be backed up by a single data store or a number of data stores. So, when we speak of assembling two or more components, we are expected to maintain the atomicity
Parsing an XML Document with XPath
The getter methods in the org.w3c.dom package API are commonly used to parse an XML document. But J2SE 5.0 also provides the javax.xml.xpath package to parse an XML document with the XML Path Language (XPath) . The JDOM org.jdom.xpath.XPath class also has methods to select XML document node(s) with an XPath expression, which consists of a location path of an XML document node or a list of nodes. Parsing an XML document with an XPath expression is more efficient than the getter methods, because w
Java object queries using JXPath
In a recent project, I needed an easy way to traverse Java object trees and extract values from the objects. Instead of continually going through huge iterator-if-else setups, I wanted a tool that would allow me to simply say, "I want the object with id=X, and from that object, I need the value of property A." In essence, I needed an object-querying tool. [@more@]JXPath is such an object-query tool. It is an Apache Commons component that enables you to query complex object trees using
Leverage Spring Web development with Offspring
The Spring Framework is such a brilliant phenomenon of modern Java development that praising it has become common place. However, to start working on Spring projects, one has to invest significant time to obtain the necessary expertise. This article briefly introduces Spring essentials and describes Offspring, a fully functional solution that can help you build Web applications with a minimum learning curve and without compromising Spring ideology. [@more@]Spring bare essentialsTo follow the cou
Should you go with JMS?
Distributed system development is growing rapidly as software developers build systems that must keep up with the ever-increasing requirements imposed by e-business. But, never before has the design and implementation of a message-processing layer within a distributed system been as complex as it is today. This is mostly due to the dramatic increase in potential functionality enabled by standards like Java Message Service (JMS) that connect many vendors' technologies in a single system. In addit
From Java EE security to Acegi
Protecting sensitive data and data transportation is a preliminary but critical requirement for application developers. The Internet is a public and insecure infrastructure connecting millions of computers world-wide for data interchange. Any device connected to the Internet faces various types of security threats, such as eavesdropping, masquerading, message tampering, replaying, infiltration, traffic analysis, or denial-of-service. Web applications generally deal with sensitive and valuable da
REST easy with the JavaBeans Activation Framework
Find out what makes the JavaBeans Activation Framework a perfect vehicle for RESTful data transmission, then put JAF to work in a sample Web application that tracks requests and responses through a Java Servlet-based system[@more@]Representational State Transfer, also known as REST, is a style of software architecture defined by a collection of architectural principles. REST is applied specifically to such distributed systems as the Web, and stipulates mechanisms for defining and accessing resou
Manage RSS feeds with the Rome API
RSS is a widely used means of publishing syndicated content, from bloglines to build reports. The large number of individual formats (at least six flavors of RSS plus Atom) can make it difficult to manipulate the feeds by hand, however. In this article John Ferguson Smart shows you how to use the Rome API to read and process RSS feeds in any format. You'll also learn how to set up an RSS feed to deliver build reports in a continuous integration environment, using Continuum as your CI server.[@mo
Scripting on the Java platform
It has recently become popular to differentiate between the Java platform and the Java language, but many Java developers still are unsure of how to incorporate scripting into Java application development. In this article, Gregor Roth introduces you to scripting on the Java platform. Learn when and how to use scripts in your Java applications, whether you are gluing together various Java application modules with Groovy or Jython, or writing your first JRuby-based application for the Java platfor
JBoss, Geronimo, or Tomcat?
Open source Java EE application servers like JBoss, Tomcat, and Apache Geronimo easily stand up to their commercial counterparts, and actually lead the market in innovation. All open source Java EE application servers are not created equal, however. In this article, Jonathan Campbell compares JBoss 4.2, Geronimo 2, and Tomcat 6 based on features, deployment, and performance. [@more@]Java Enterprise Edition (Java EE) application servers are the Web-enabled standard when it comes to application de
The AjaxComponent strategy for JSF: The best of both worlds
Adding Ajax capability to JSF applications is easy to talk about but not so simple to do. Developing a custom lifecycle phase is too complex for most needs; putting the handler code in the component's decode() method doesn't give you enough control; and using a phase listener by itself breaks encapsulation. In this article, Matt Tyson demonstrates the AjaxComponent strategy -- an effective and practical way of integrating Ajax into your JSF applications, and easily extensible to boot. [@more@]If
Use JBI components for integration
The Java Business Integration specification (Java Specification Request 208) defines a standard means for assembling integration components to create integration solutions that enable a service-oriented architecture (SOA) in an enterprise information system. These components are plugged into a JBI environment and can provide or consume services through it in a loosely coupled way. The JBI environment then routes the exchanges between those components and offers a set of technical services. A com
BPEL: Service composition for SOA
BPEL (Business Process Execution Language) has become one of the most important technologies of SOA (service-oriented architecture) and enables easy and flexible composition of services into business processes. BPEL is particularly important because it introduces a new concept into application development—programming-in-the-large. This concept enables us to develop processes quickly by defining the order in which services will be invoked. This way, applications (and information systems) become
JAVA泛型浅析
本文主要列举了在使用Java泛型时应该注意的问题。Java泛型是Java5的一个重要特性,它和自动装箱、变长参数等新特性一起,提升了Java代码的健壮性和易用性,但SUN本身过分强调向前的兼容性,也引入了不少问题和麻烦。[@more@]JAVA泛型和C++泛型的区别: Java的泛型被定义成擦除,而C++的泛型则是扩展; 对于C++模板,当参数类型为不同的类型时,生成的模板实例也是不同的类型,如:定义类模板 Template <typename T> class A : public B<T>; 当实例化模板时 A<int> a;
Modularizing and Code Reuse Using AOP
Aspect-Oriented Programming (AOP) is a new exciting paradigm. It is not a competitor to the famous Object-Oriented Programming (OOP), they actually complement each other. It can be considered an extension to OOP. AOP modularizes software applications based on loosely coupled aspects, whereas OOP does it by using Encapsulation, Inheritance, and Polymorphism.AOP is a concept and not bound to any programming language. Software vendors can provide implementation for AOP in any programming language a