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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:34:02+00:00 2026-06-11T02:34:02+00:00

While Developing a Java EE Web app, I would like to know simple ways

  • 0

While Developing a Java EE Web app, I would like to know simple ways to access an stateless EJB object through Rest.

This project needs no Dynamic Web from Java, as Client side is fully javascript deployed, so communication is done only with Ajax calls.

As I’ve read one way would be to create 2 EJB one for functionality other to represent Web Service.

Is there a way to avoid the Web Service part? (avoid completely the WAR) Maybe with DI?

Java EE 6, EJB 3.1, Eclipse desired. I also believe the right application server would be Glassfish instead of Jboss, due to it’s compatibility with EJB 3.0

No interesting in using JAX-WS

  • 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-11T02:34:04+00:00Added an answer on June 11, 2026 at 2:34 am

    With EJB 3.1 you can actually publish a session bean as a JAX-RS web service, if you package your (properly annotated) session bean inside a WAR.

    So, the simplest solution I can think of would be to create a WAR (a dynamic web app if you’re using Eclipse) and create a JAX-RS annotated stateless session bean inside the web app. You don’t need any EJB projects at all.

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

Sidebar

Related Questions

I am developing a Java web application that bases it behavior through large XML
I am developing a simple web app that uses the Google translation API in
While developing a web based java application I am a bit confused about the
While developing a Java project, I place all of my jar files in a
Am Beginner to java.I have a small doubt while i am developing an application
While developing a Grails 1.0.5 app I'm appalled at how slow the grails test-app
I am developing a java web-site. It fetches data from http://projects.zoho.com . I have
I have a strange problem... I am developing a web app to search house
While developing a web application in JSF, I came across an expression which was
I am developing a high-traffic java web application. Currently I'm defining its architecture. I

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.