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 1067707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:11:37+00:00 2026-05-16T20:11:37+00:00

We are occasionally in a position to take over PHP based projects, but as

  • 0

We are occasionally in a position to take over PHP based projects, but as we are a Java-house we are searching for ways to turn a PHP-project (or codebase) into a Java-project.

The approaches we came up to work in a mixed Java/PHP context are :

  • PHP in frontend and Java in backend with separate front (PHP+JavaScript) and back (Java+SQL) teams
  • using both technologies in a Java webapp, for example via Quercus with one or multiple teams
  • migrating everything to Java

We haven’t tried any of these approaches as we’ve been lucky enough to have enough Java-only projects to work on.

Do you see other approaches, or have you tried any of the described approaches?

  • 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-16T20:11:37+00:00Added an answer on May 16, 2026 at 8:11 pm

    I’ve used Quercus. I think that if it supports something like Drupal then it’s probably fairly mature. If your PHP app works out of the box, then it offers you a very gradual upgrade path to Java since you can write your own plugins in Java and expose them to the PHP layer, such as using a JDBC back-end.

    How easy it is all depends on how well separated the layers are in the PHP application. For example, if the view layer is well separated, you might be able to replace both controller and model logic with a Spring MVC application that uses a ‘QuercusView’ for the view – you may be able to re-use a lot of the PHP view logic.

    You should also consider how you can make a survey of the PHP code – maybe a script that extracts all the function calls, imports etc. so you can quickly test the Quercus support for them.

    Sorry, I haven’t used the PHP-Java bridge, but I think the Quercus library is pretty mature these days, so that would be my first choice for a staged migration.

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

Sidebar

Related Questions

Occasionally, but more often than I'd like, AJAX calls just don't work in IE
Occasionally I'll write a PHP function with a single input, an associative array containing
I find myself in this position occasionally, and I'm sure there is a better
Occasionally, when I open a visual studio 2003 ASP.NET project it seems to spend
I'm using FancyBox on my page, and occasionally (but not always), the lightbox opens
Occasionally a TextView with dynamic content will show a price. For example, as part
Occasionally when performing a rebase using the MercurialEclipse plugin my repository gets thrown into
Occasionally in our lab, our postgres 8.3 database will get orphaned from the pid
Occasionally I have a problem when I attempt to update a web reference in
Occasionally I'll come across comments about inheritance going out of style in enterprise application

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.