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

The Archive Base Latest Questions

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

I read on the internet that with Java EE6, you could package EJB3 into

  • 0

I read on the internet that with Java EE6, you could package EJB3 into a jar and use it in a web application written in JSF2.0. You then package the JSF and EJB jar into a .war file and deploy it to an application server – Glassfish for example.

My question is, if you also want to expose the EJBs as web services, how do you do this? Do you just need to add annotations to the EJBs and have one war file, or there should be another web application just for the web service exposure?

  • 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-22T15:25:35+00:00Added an answer on May 22, 2026 at 3:25 pm

    You can do it either way: you could have a war project that simply exposes services and another one with the web interface components, or you can serve the services and the ui from one war. That main reason to go with a separate war would be if you could see either supporting a distributed architecture where the services and web interface components are served from different instances, or, if you could imagine deployments that are services only.

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

Sidebar

Related Questions

I've often read that corporations will save millions once Internet Explorer 6 is finally
I've read that several browser plugin's support UDP sockets (eg Java, Unity), however the
i've a class (downloaded from internet) that read a value of a file in
I read so many articles out there in the internet and found that to
I'm trying to secure a connection from a Java Client/Server application that communicates over
I read all Questions on stackoverflow that could give me a hint with this
I am trying to build remote desktop application using java. For that what I
I read all over the Internet (various sites and blogs) about version control. How
What is the best way to read and/or set Internet Explorer options from a
I read somewhere once that the modulus operator is inefficient on small embedded devices

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.