DZone
Integration Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Integration Zone > WebRPC is Now HTTP-RPC

WebRPC is Now HTTP-RPC

WebRPC is no more: it's HTTP-RPC now. Along with the name change are a few class name alterations, including Java server and Java client.

Greg Brown user avatar by
Greg Brown
·
Nov. 18, 15 · Integration Zone · Analysis
Like (3)
Save
Tweet
3.22K Views

Join the DZone community and get the full member experience.

Join For Free

WebRPC is now called HTTP-RPC. The name was changed for several reasons:

  1. The previous name suggested that it was a tool for web (i.e. HTML) development, not cross-platform RPC. It was also easily confused with WebRTC (“Real-Time Communication”).
  2. The webrpc.org domain was not available, but httprpc.org was.

The new name more clearly reflects the project's purpose: “cross-platform RPC over HTTP.”

Several class names were also changed:

Java Server

  • vellum.webrpc.WebRPCService is now org.httprpc.WebService
  • vellum.webrpc.WebRPCServlet is now org.httprpc.ResultDispatcherServlet
  • vellum.webrpc.sql.ResultSetAdapter is now org.httprpc.sql.ResultSetAdapter

Additionally, the vellum.webrpc.Result class has been repurposed as org.httprpc.beans.BeanAdapter. This class wraps an existing Bean object, rather than requiring the Bean to extend a specific type. It also provides parity with ResultSetAdapter, which wraps a result set.

Finally, the static map factory methods defined by the vellum.webrpc.Arguments class were moved to WebService.

Java Client

  • vellum.webrpc.WebRPCService is now org.httprpc.WebServiceProxy
  • Note that this change makes it possible to use both the Java Server and Java Client libraries in a single application. This was previously not possible because the libraries both used the name vellum.webrpc.WebRPCService to refer to two different classes.

    Objective-C/Swift Client

  • WSWebRPCService is now WSWebServiceProxy
  • JavaScript Client

  • WebRPCService is now WebServiceProxy
  • The API is otherwise unchanged. See the project site for more information.

    Java (programming language) Cross platform Library Bean (software) Spring Framework application Factory (object-oriented programming) HTML JavaScript

    Published at DZone with permission of Greg Brown, DZone MVB. See the original article here.

    Opinions expressed by DZone contributors are their own.

    Popular on DZone

    • Adaptive Change Management: A DevOps Approach to Change Management
    • A Simple Guide to Heaps, Stacks, References, and Values in JavaScript
    • Suspicious Sortings in Unity, ASP.NET Core, and More
    • Unit vs Integration Testing: What's the Difference?

    Comments

    Integration Partner Resources

    X

    ABOUT US

    • About DZone
    • Send feedback
    • Careers
    • Sitemap

    ADVERTISE

    • Advertise with DZone

    CONTRIBUTE ON DZONE

    • Article Submission Guidelines
    • MVB Program
    • Become a Contributor
    • Visit the Writers' Zone

    LEGAL

    • Terms of Service
    • Privacy Policy

    CONTACT US

    • 600 Park Offices Drive
    • Suite 300
    • Durham, NC 27709
    • support@dzone.com
    • +1 (919) 678-0300

    Let's be friends:

    DZone.com is powered by 

    AnswerHub logo