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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T01:34:06+00:00 2026-06-05T01:34:06+00:00

I would like to use org.glassfish.api.embedded in my Java application so that I can

  • 0

I would like to use org.glassfish.api.embedded in my Java application so that I can add a web interface to it. I’m using Netbeans and I have set up a Maven Java Application project.

I’m pretty new to Java. I cannot figure out how to add GlassFish to my project. I tried to add various dependencies, but none of them had org.glassfish.api.embedded in them.

How can I add org.glassfish.api.embedded to my Java application in Netbeans?

  • 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-05T01:34:08+00:00Added an answer on June 5, 2026 at 1:34 am

    From: http://glassfish.java.net/downloads/3.1.2-final.html

    <dependency>
        <groupdId>org.glassfish.main.extras</groupdId>
        <artifactId>glassfish-embedded-all</artifactId>
        <version>3.1.2</version>
    </dependency>   
    

    GlassFish Server 3.1.2 in a single JAR, useful for embedded use.
    Contains the full platform implementation (67 MB).

    Or:

    <dependency>
        <groupdId>org.glassfish.main.extras</groupdId>
        <artifactId>glassfish-embedded-web</artifactId>
        <version>3.1.2</version>
    </dependency>   
    

    GlassFish Server 3.1.2 in a single JAR, useful for embedded use.
    Contains the Web Profile implementation (40 MB).

    It should be available via Maven Central, so you don’t have to configure any repository.

    The only downside: the jars are quite big (40MB resp. 67MB).

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

Sidebar

Related Questions

I would like to use a grid view that can expand its rows, also
There is a remote Maven repository (http://clojars.org/repo) that I would like to use in
We would like to use mercurial for web development, but we can't (and don't
I have a web application using JPA and JTA with Spring. I would like
I would like to use ssl / https as described in http://docs.codehaus.org/display/JETTY/How+to+configure+SSL using jetty-maven-plugin,
I would like to use swf animations in my application. 1. Is it possible
For (application) server development with Delphi, I would like to use a workflow engine
I would like to use this source: https://github.com/mongodb/casbah How can I use this stuff?
I'm using oracle with orbeon and I would like to use the flat view
I'm using EclipseLink in Glassfish with my JavaEE application and have some java.util.Locale-columns in

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.