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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:48:24+00:00 2026-06-13T13:48:24+00:00

Is there any way to inject EJB3 / CDI / JSF beans (if the

  • 0

Is there any way to inject EJB3 / CDI / JSF beans (if the last category makes any sense) and use the respective annotations without having to use a Java EE container? I.e. in a plain old static void main type console application?

Reason might be for experimentation / testing / behavior deciphering purposes.

  • 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-13T13:48:25+00:00Added an answer on June 13, 2026 at 1:48 pm

    EJB3, CID and JSF runs over a Java EE container: GlassFish, JBoss, IBM WebSphere Application Server and so on. Note that Tomcat is not a Java EE container, it’s a Servlet/JSP container.

    A console project, in the other hand, run over Java SE container, this is, a simple JRE installation. If you try to download the Java Platform, Enterprise Edition 6 SDK, you will notice that it’s a GlassFish distribution.

    If you want/need to do proof of concepts using these technologies, you should create a simple Web project and deploy it on any Java EE containers. IMO I would recommend JBoss AS 7 for being lightweight on deployment (note: people can correct me if I’m wrong).

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

Sidebar

Related Questions

Is there any way to inject null value on properties which references undefined beans?
Is there any way we can inject new methods and properties into classes during
Is there any way to use Google's API to retrieve a user's current zipcode
Is there any way for an iPhone application to inject audio into an ongoing
is there any way to inject dependencies into Doctrine2 models with Silex? Since the
Is there any way to inject custom bindings in a class that's not an
With Javassist, is there any way to inject code into a native method? In
I need to inject EF context per request. Is there any way to implement
Is there any way in Notepad++ (or even with another tool) to change the
Is there any way I can set a formatter on models that will convert

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.