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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:30:07+00:00 2026-05-28T16:30:07+00:00

I have been told to make an EJB and plain Java program (client), and

  • 0

I have been told to make an EJB and plain Java program (client), and try to run both these in two different JVMs, and get them executed. What is meant by “two different JVMs”?

  • 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-28T16:30:07+00:00Added an answer on May 28, 2026 at 4:30 pm

    Your requirement :

    1. EJB
    2. Plain Java client for (1)

    Run in different JVMs – it is as simple as it can get.

    Normally EJBs are hosted in an Application server ( Such as Weblogic,Websphere, Jboss,Glassfish, etc etc) – when you deploy your EJB to one such server and start that server – server process is a “JVM”- meaning your server process that hosts your EJB is running in a JVM.

    Now, you have written and compiled your Client application. For laughs, let us call it
    MyBigClient.java

    when you run java MyBigClient on command line or run it through the “Run” button of your favorite IDE, it is executed by a JVM – that is your second JVM instance

    Voila – you have EJB and Client running in two different JVMs

    Now if you use a different “java.exe”(Say, C:\JDK1.6\bin\java.exe) to run the client than the java.exe (Say, C:\JDK1.5\bin\java.exe) used by your application server, you are using “two different JVMs”

    It is all how you want to define “two different” – I do not think there is any hard and fast rule around this.

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

Sidebar

Related Questions

i have been told to use 'when' statement to make multiplexer but not use
I have been told to make a process that insert data for clients using
I have been told that the code <script> alert(java.lang.System.getProperty(java.version)); </script> should alert the java
I've been told I have to make a 100% HTML CSS Javascript site for
I have a text file. I've been told to make it UTF8. How can
I have been told that there is a performance difference between the following code
I have been told and I'm not sure I believe this: Removing white space
We have been told that we have to use a piece of software called
I have been told to edit this file in Sharepoint Designer: /_layouts/KWizCom_WikiPlus/CreateNew.aspx I found
I am building a web application and have been told that using object oriented

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.