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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:50:42+00:00 2026-05-15T10:50:42+00:00

I need to develop an application in java, which uses a client[embedded server]-server-(-server)-(…) approach.

  • 0

I need to develop an application in java, which uses a client[embedded server]-server-(-server)-(…) approach. (data sent on commits, or automatically)

The workflow (entities, validation, logic, sessions) is everywhere the same. In server-server connections, it looks logical to use EJB-s (entity and session beans, in the future probably message driven beans also). The client speaks with a local “server”, or – based on user settings – to one or more real server (servers may speak to many servers too).

Is it possible (and: simple) to use locally the EJB framework (without a local Java EE server running, to avoid installation on the clients, and memory usage), and if, is it considered a good solution? Or should I implement a different logic on the client, and switch based on the settings? Which is easier?

  • 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-15T10:50:43+00:00Added an answer on May 15, 2026 at 10:50 am

    Yes, it is possible. The EJB 3.1 spec defines an embeddable EJB container (Chapter 20) that can be used in Java SE applications without the need of an Java EE application server.

    But even prior to EJB 3.1 there are containers that are easily embeddable, e.g. OpenEJB from Apache.

    Whether this is good or bad is of course debatable but I think if there are existing EJBs and you want to use them locally then why not. Others would probably prefer Spring but I don’t have much experience in it so I can’t comment on that.

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

Sidebar

Related Questions

I'm going to develop a java web start application, which need to access protected
We need to develop a Finance Application in Java J2EE which can be accessed
I have a project to develop a client server application in java . This
I need to develop an application on Android platform that enables a client to
i need to develop an iPhone application that is a Client of serverside application.
I need to develop an android application which do some image processing on the
I want to develop an application in which I need to know the position
I need to run/develop a mono-based application on a new dedicated server, and the
I am trying to develop a web application for which I need to capture
i need to develop a .net library which exposes a java web service proxy

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.