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

  • Home
  • SEARCH
  • 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 8465713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:07:44+00:00 2026-06-10T15:07:44+00:00

I want to code my web-service in java….but what if i can write my

  • 0

I want to code my web-service in java….but what if i can write my main code in c++ & then access via JNI to use in java and is it efficient or not ?
Secondly , I have to create a website and again that c++ code will be used to fetch data but website will be in php..is that possible…& how ?

Please also suggest me if I am going wrong…? or Some other way to do this thing…!

implementation diagram

this is the implementation diagram…is it possible & also efficient or not..?

  • 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-06-10T15:07:46+00:00Added an answer on June 10, 2026 at 3:07 pm

    Is this possible? Yes.

    Is this efficient? Arguable, but I would say no.

    I would suggest that your best bet is to use only one language for your web application. All three of C++, Java, and PHP have great web service capabilities. If you have to add so many layers of technology, managing your application will quickly become a nightmare.

    EDIT

    Since you are creating a web service for an Android app, I would advise that you write it in Java. This is because you can take advantage of code reuse, and is also helpful if you want to add developers to your team.

    PHP and C++ are good choices as well. I personally prefer PHP in this scenario, due to the simplicity of setup. I would only choose C++ over PHP if I had some previous code that is reusable, so I do not need to port over any business logic.

    From there, you can use build an Android application to talk to your web service, as well as create the front end for your website.

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

Sidebar

Related Questions

I want see the source code of System.Web.Routing.RouteValueDictionary class. But Reflector can't disassemble it
I want to write a simple web proxy, for exercise. Here's the code I
i want to call asp.net web service from java script and pass the parameters
This(*) ObjectLockedException returned from a Java-based web service. I want to catch this specific
I want to do a POST request to a web service in grails, but
I want to know how to do authenticate for REST web service in java?
I want to make a web service that runs other people's code locally. Naturally,
I want to play a song from web service, and I wrote code as
I want to make a code snippet database web application. Would the best way
I want to print just the HTTP status code for a web page retrieved

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.