Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6873737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:06:24+00:00 2026-05-27T04:06:24+00:00

I am starting a web project in which I would like to have a

  • 0

I am starting a web project in which I would like to have a RESTful Java back-end and a PHP front-end that consumes it (its my first time using REST, although I have a lot of experience with Java and PHP). I have found a few frameworks for this, namely the Guzzle PHP framework, and the Restlet Java framework. Now my question is whether or not I am on the right track. Are there any other technologies you would recommend for this system, or anything else I should take a look at? I’m thinking I wanna use Jetty or Tomcat as the server running the restlet, and normal Apache for the PHP.

Lastly, I would like to know what the advantages/disadvantages of each of the transfer protocols are when it comes to REST. I’m torn between XML and JSON. Any thoughts/links would be appreciated. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:06:24+00:00Added an answer on May 27, 2026 at 4:06 am

    For the webservice you can use SOAP and REST. Rest is recently more trendy and easier so it is a good start. You can choose a number of providers for REST

    • CXF restful
    • Restlet
    • Jersey
    • Spring Rest

    The first three are all using the same Jax-RS standard If you dont like the implementation you can easily switch to an another one. We use CXF extensively and never had a problem with it. Spring is different but also nice if you would use spring anyways.

    For the server Jetty and Tomcat are the two main lightweight containers. Jetty is lighter, but to be honest there isnt much performance difference especially with a simple webapp

    JSon or XML doesnt matter that much either if you use PHP and Java. Probably JSON is more compact therefore the network traffic will be less, but not significantly. All the above REST providers support both out of the box.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am starting a web application project that will have an Adobe Flex front-end
I am starting a project that will have many files (like a web servers
I'm starting a web project that likely should be fine with SQLite. I have
I am starting a new Java web project that will be worked on by
I'm starting a Web Application project in Java and I've been doing some research
I'm a starting a project which consist in sending a request to a web-service
I will soon be starting on a new web project that consists of 2
I am starting a project in which I hope to create a web application
I am starting my first Open Source ASP.NET project in C#. Data that Web
I'm starting a new web project and I am considering two presentation frameworks. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.