Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Development
    • Development
    • IT Management
    • Networking
    • Servers

    JBoss Helps Developers RESTEasy Writing REST-based Java Web Services

    Written by

    Darryl K. Taft
    Published January 26, 2009
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Red Hat’s JBoss division has released the 1.0 version of JBoss RESTEasy, a framework that enables developers to write Representational State Transfer-based — also known as “RESTful” — Web services in Java.

      JBoss fellow Bill Burke has been championing the effort and crowed about the technology achieving a version 1.0 generally available release on Jan. 21. “I am pleased to announce the first GA release of JBoss RESTEasy,” Burke said in a blog post on the technology.

      RESTEasy is a fully certified and portable implementation of the JAX-RS specification. JAX-RS is also known as Java Specification Request (JSR) 311 — the Java API for RESTful Web Services. JAX-RS is a new Java Community Process (JCP) specification that provides a Java API for RESTful Web Services over the HTTP protocol.

      “REST is a set of architectural principles that defines why the World Wide Web has been so successful at scaling so massively and how you can apply those principles to modern distributed applications,” Burke told eWEEK. “While not protocol-specific, when people talk about REST they usually are talking about using HTTP in a RESTful manner. I like to think of REST as the rebirth or rediscovery of HTTP. Distributed technologies like WS-*/SOAP [the web services stack and Simple Object Access Protocol] have used HTTP solely as a transport protocol when in reality it is a very rich protocol — caching and content-negotiation are two examples.”

      Moreover, Burke argues that “Developers like REST because it generally is much simpler than putting together a SOAP stack. Most languages and platforms support HTTP while this is not so true with WS-*. Also, interoperability is always an issue between vendor stacks with SOAP. With REST you focus on what matters, the exchanged data format — X M L, JSON, whatever — and let HTTP do all the heavy lifting.”

      Meanwhile, RESTEasy can run in any Servlet container, but tighter integration with the JBoss Application Server is also available to make the user experience nicer in that environment, Burke said. While JAX-RS is only a server-side specification, RESTEasy has innovated to bring JAX-RS to the client through the RESTEasy JAX-RS Client Framework. This client-side framework allows you to map outgoing HTTP requests to remote servers using JAX-RS annotations and interface proxies, Burke said.

      “From a Java perspective, you’ve always been able to write RESTful applications using a Servlet container,” Burke said. “What RESTEasy does is make you more productive at writing RESTful applications through the new JAX-RS standard that will be part of Java EE [Enterprise Edition] 6.”

      Additional features of the RESTEasy technology include: a fully certified JAX-RS implementation; portability to Tomcat or any application server that runs on Java Development Kit (JDK) 5 or higher; it is an embeddable server implementation for JUnit testing; it has a rich set of providers for: XML, JSON, YAML, Fastinfoset, Atom, and more; it has Java Architecture for XML Binding (JAXB) marshalling into XML, JSON, Fastinfoset, and Atom as well as wrappers for arrays, lists, and sets of JAXB Objects; it features asynchronous HTTP (Comet) abstractions for JBoss Web, Tomcat 6, and Servlet 3.0; it has Enterprise JavaBeans (EJB), Spring, and Spring MVC integration; and it features a client framework that leverages JAX-RS annotations so that you can write HTTP clients easily (JAX-RS only defines server bindings).

      Moreover, for his part, Burke said he sees REST overtaking SOAP. “From an adoption standpoint, I believe that REST has a high probability of overtaking SOAP/WS-* as a preferred way to integrate SOA [Service Oriented Architecture] applications,” he said. “Once developers start realizing how difficult it is to get these WS-* stacks up and running, let alone, interoperating with one another, they’ll see the light.”

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.