|
Sponsored Links
Resources
Enterprise Java Research Library
Get Java white papers, product information, case studies and webcasts
|
News
News
News
|
Messages: 12
Messages: 12
Messages: 12
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
XFire 1.0 Released: Open source, high performance SOAP
The Codehaus XFire team is proud to announce their 1.0 release! XFire is an open source Java SOAP framework built on a high performance, streaming XML model. XFire includes support for web service standards, an easy to use API, Spring integration, JBI support, and pluggable bindings for POJOs, JAXB, and XMLBeans.
Find out more information by downloading it yourself or viewing the user's guide.
XFire 1.0 features include: * Support for WSDL 1.1, SOAP 1.1 and 1.2, WS-Addressing, WS-I Basic Profile 1.1 * Pluggable bindings for POJOs, XMLBeans, JAXB 1.1, JAXB 2.0, and Castor support * Support for many different transports - HTTP, JMS, XMPP, In-JVM, etc. * Spring, Pico, Plexus, Loom, and Yan support * Embeddable and Intuitive API * Client and server stub generation * JSR 181 2.0 API to configure services via Java 5 and 1.4 (Commons attributes JSR 181 syntax)
|
|
Message #202209
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
XFire 1.0 Released: Open source, high performance SOAP
XFire is reallye cool when used with Spring POJOs but unfortunatle it does not provide easy hook to have XFireServlet->EJB->POJO (the XFireServlet->POJO forces POJO to be thread safe) setup like Weblogic SOAP adapter provides.
|
|
Message #202212
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
XFire 1.0 Released: Open source, high performance SOAP
There are no lies with regards to the high performance SOAP features of XFire. Recently I did a performance run on XFire with our security product IDX. I was able to achieve almost 220 TX/sec with the framework.
You can read about the results here: http://www.jstepka.name/blog/?p=18
|
|
Message #202213
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
XFire 1.0 Released: Open source, high performance SOAP
Hi Tsolak, did you know you can create your own Invoker for your service very easily? In fact, there is an example EJB invoker in the manual that someone wrote:
http://xfire.codehaus.org/Invokers
Hope that helps.
|
|
Message #202214
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
XFire 1.0 Released: Open source, high performance SOAP
XFire + Spring + XMLBeans = a winning combination in ease of use, performance, strong validation and configurability.
Only thing I still miss in XFire is the support for attachment handling.
Great work!
|
|
Message #202219
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
SwA (Attachments)
I totally agree on the missing attachments need.. I think XFire looks really nice and has done a good job working with other environments. I hope Attachment support is forthcoming.
I also know that WS-Security is on the road map, and that will be great once it comes along..
|
|
Message #202223
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
XFire 1.0 Released: Open source, high performance SOAP
Thanks Dan, That is close what I want but would like to have XFire generate and invoke Session Bean transparently for me.
|
|
Message #202224
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
XFire 1.0 Released: Open source, high performance SOAP
XFire + Spring + XMLBeans = a winning combination in ease of use, performance, strong validation and configurability. If I recall correctly then XMLBeans could kill all the performance gains easily because they always work with underlying XML document. I mean that an attempt to XMLBeans as regular POJO Beans leads to very slow code execution.
Am I correct?
|
|
Message #202226
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
XFire 1.0 Released: Open source, high performance SOAP
Congrats to Dan and the XFire team!!!
Xfire is really a nice package for web services, and especially easy to use with Spring and JSR-181 annotations. I can't wait to try out the JAXB 2.0 bindings.
|
|
Message #202231
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
XMLBeans performance
Konstantin, Yes and no. Check out the performance metrics here:
https://bindmark.dev.java.net/
XMLBeans is actually quite fast. BUT, if you start workign with the objects all the time as you would pojos, thats goign to cause a lot of overhead because you'll be modifying the XML structure everytime. So, the lesson is, IMHO, to use XMLBeans as data transfer objects, but not business objects.
I prefer JAXB 2 to XMLBeans though. It has a great API and is also quite fast.
|
|
Message #202233
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
XFire 1.0 Released: Open source, high performance SOAP
If I recall correctly then XMLBeans could kill all the performance gains easily because they always work with underlying XML document. I mean that an attempt to XMLBeans as regular POJO Beans leads to very slow code execution.Am I correct? If performance is the number one priority, then you might be better of with plain POJOs and Aegis binding. On the other hand, if you care about XML schema model and validation options that it provides for crafting clean APIs, then XMLBeans is a very good option.
XMLBeans is based on the same StAX API as the XFire uses, so its performance is quite decent:
http://workshop.bea.com/xmlbeans/schemaandperf.jsp https://bindmark.dev.java.net/
"Unlike DOM, XMLBeans doesn't take the approach of unmarshalling an entire XML document and providing an object for each node in the XML document. With XMLBeans, unmarshalling and marshalling happens on demand, so if you never look at a piece of data, it's never unmarshalled or marshalled. This improves the performance of the XMLBeans solution."
http://www.onjava.com/pub/a/onjava/2004/07/28/XMLBeans.html?page=2
|
|
Message #202297
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Spring Web Service vs XFile ?
Hi,
Can any one from Spring Framework team or XFire team compare the Spring Web Service project and XFire?
Are they trying to achieve the same thing?
Thanks,
Jason
|
|
Message #202412
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Spring Web Service vs XFile ?
Hi, Can any one from Spring Framework team or XFire team compare the Spring Web Service project and XFire?Are they trying to achieve the same thing? Well, since I did work on both, I guess I should answer this one. To answer your last question first: they achieve the same thing in the sense that they both do SOAP.
XFire is an integrated SOAP solution that is based on StAX, the fast Streaming API for XML. I would say that the focus of XFire lies on exposing Java classes as remote SOAP objects, using various XML bindings. For instance, it is really easy to expose a Spring-managed class as SOAP service using XFire, or to use JSR 181 annotations in it. I believe there are also plans to support JAX-WS.
Spring-WS really consists of two modules. First, there is a module that abstracts over various XML marshalling toolkits. You can use this module in various surroundings, Web Services being just one of them. Second, there is the Web Service module itself, which focusses on doing document-driven, contract-first SOAP with a design based on Spring-MVC.
I think that both solutions have their place; it all depends on the specific requirements for the Web service you are making.
|
|
 |
New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com |
 |
 |
Reza Rahman continues to explore the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6.
(January 21, Article)
Ted Neward is an independent consultant specializing in high-scale enterprise systems, and an authority in Java and .NET technologies. He is the author and co-author of several books, including Effective Enterprise Java. At TheServerSide Java Symposium in March, he will be presenting sessions on pragmatic architecture, ECMAScript and Scala.
(January 15, Article)
Now that Oracle is absorbing Sun Microsystems, there mixed views on what should come of the Java Community Process (JCP). While some say Oracle should become the new steward of Java and keep the JCP much as it was, others argue that it may be time to open-source this widespread language.
(November 24, Article)
Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6.
(November 2, Article)
SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options.
(September 28, Article)
Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team.
(September 22, Article)
Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies.
(July 14, Article)
JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags.
(June 29, Article)
In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project.
(June 23, Tech Talk)
Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now.
(June 15, Tech Talk)
In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements.
(June 15, Tech Talk)
In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls.
(June 4, Tech Talk)
Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable.
(May 28, Tech Talk)
This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work.
(May 26, Tech Talk)
Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers.
(May 21, Tech Talk)
Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application.
(May 19, Article)
Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)
The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)
|
|