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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:17:25+00:00 2026-05-22T12:17:25+00:00

I have Java code that works on my desk top…its a simple app that

  • 0

I have Java code that works on my desk top…its a simple app that grabs stuff from a database does something to it and outputs a list.

This is for a consumer facing site and ultimately i want to pass the list on to PHP to use to furnish a page.

I understand that I can do that with thrift and thats the current plan.

But the question is whether I need some special server besides just the JDK to run the java end of things given the fact that it is being used purely for data processing? Why or why not?

How does JRE/JDK handle different users trying to access user-specific data at the same time given that php has to grab that info from the same java application? how does the java program know the difference?

Thanks alot for your help!

  • 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-22T12:17:26+00:00Added an answer on May 22, 2026 at 12:17 pm

    You need an J2EE server, which depending on the complexity of your application might be a JSP/Servlet engine like Apache Tomcat or a full-blown J2EE application server like GlassFish, jBoss or even a commercial product like Oracle Fusion middleware suite, which also includes features like user management, LDAP server, Sigle-Sign-on, Server farm Management tools etc.

    On This server you typically run a J2EE/Web application, deployed as an WAR/EAR, see the Tutorial

    EDIT:
    Description of a basic broser/HTTP/HTML webapp: The J2EE server provides an HTTP endpoint which can be invoked from a Browser via a HTTP request, e.g. http://localhost:80870/myApp/helloWorld?param=1. The HTTP request is dispatched to a particular Servlet (a Java class impmenting ther Servlet interface), depending on the server configuration and webapp deployment. The Servlet’s doService method gets called by the J2EE server, then the servlet code can read any request parameters etc from the ServletRequest object passed into the method and can the construct a response (e.g. a HTML page) by writing it to the output stream of the ServletResponse object passed into the method. The response is then sent back to the user’s browser.

    The J2EE container also provides a session functionality so that subsequent requests from the same browser session can share state.

    This is just the basic concept – for details on how this whole j2ee stuff works you should invest at least 8 hours in going through the very first Steps of the J2EE tutorial and get a HelloWorld JSP/Servlet running on your own server. In case any detail questions arise during this, ask these questions at stackoverflow.

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

Sidebar

Related Questions

I have a java script code that works fine when run through a browser,
I have a standalone Java app that has some licensing code that I want
I have to take over and improve/finish some code that transforms Java objects from
I have the following block of code that works just fine: <%@page import="java.util.*" %>
I have some Java code that uses curly braces in two ways // Curly
I have to ship some groovy code to some users that have only java
I downloaded Java source code of some project that works with Maven. After checking
I have this java code: <script src=http://www.google.com/jsapi></script> <script type=text/javascript> google.load(jquery, 1.2.6); $(a#more).click(function() { $(#info_box).show(blind,
Let's say I have some Java code: public class SomeClass { static { private
I'm using Eclipse 3.4 and have configured the Java code formatter with all of

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.