Skip to main content

Switching to Glassfish

11 replies [Last post]
minoleg
Offline
Joined: 2004-08-12

Hi,

We are thinking about switching from JBoss to Glassfish to utilize some features of JavaEE 5. And I have some questions I could not find direct answers for:

1) Will Glassfish support clustering?
2) What is the difference between Glassfish and Sun Java Application Server 9? What editions it's going to have? How different will they be?
3) What is the release date?
4) Will source code be accessible as a zip archive? Because I am kind of confuse. Let's say I download a M5. How can I get exact sources of this release? Otherwise I cannot debug the problems of the application server itself. Especially we are talking about beta version.
5) Where can I find API docs? Not the docs of the Sun's Server, but Glassfish. Will there be a zip archive of particular version? Let's say M5.

Thank in advance,
Oleg

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ss141213
Offline
Joined: 2005-03-30

Hi,

Please find this excellent blog that talks about difference between project GlassFish, Sun Java System Application Server and Java EE 5 RI:
http://blogs.sun.com/roller/page/tonyng?entry=what_s_the_difference_sjsas

About source code for a promoted build: in the absence of a source bundle, it is possible to check out using CVS tag that is created for evry promotion that takes place.

Thanks,
Sahoo

carlavmott
Offline
Joined: 2005-02-10

This docs URL should be correct.
https://sdlc3a.sun.com/ECom/EComActionServlet;jsessionid=3B09A41CCC8578E...

I suggest you start with Sun Java System App Server. Depending on which Java EE 5 features you use you can stay with that release for a while. Some changes are still going in for persistence but this release should be pretty stable.

As you know, we have weekly builds so you can switch anytime to GlassFish for the latest implementation and bug fixes. We will be in hardcode freeze in a couple of weeks so the builds will be more and more stable as we work towards a final release.

You can get SJSAS from this URL
http://java.sun.com/javaee/downloads/

minoleg
Offline
Joined: 2004-08-12

Thanks a lot,
Oleg

carlavmott
Offline
Joined: 2005-02-10

The source bundle for M5 is now available. You will find a link to the source bundles on the download page. See https://glassfish.dev.java.net/downloads/12Feb06.html

Note that starting with build 40 source bundles are now posted with each promoted build.

minoleg
Offline
Joined: 2004-08-12

Thank you. I see the sources now. The doc URL is still not accessible, BTW. But that's ok if i have full source code.

The only problem is you do not bundle source of other Java EE 5 projects, like JSF. And it's hard to match the jars you are using and the source code from those project. What is the reason you don't bundle the sources from those projects?

Thanks,
Oleg

dochez
Offline
Joined: 2003-06-10

eventually we will but that takes time for the release engineering team to do it. All the sources for the other projects are of course available in different java.net projects and if you need to look at bootstrap/project.properties to find out which version was used.

BTW, I believe that Apache does the same when doing binary integration of other projects but this may has changed.

minoleg
Offline
Joined: 2004-08-12

That's thru that Apache is doing the same thing. The problem is that it's impossible to find and download the sources of the projects bundled with Glassfish. For instance, right now I am really interesting to get the source of JavaServer Faces that is used by Glasfish M5, or latest promoted build 40.

Can you advise how can I get it please?

Thank you,
Oleg

dochez
Offline
Joined: 2003-06-10

yes this is not easy, I think I will work with our program manager so we get some kind of wiki page out there that each subproject should populate this info with.

Now for you particular case, if you go to bootstrap/project.properties, you will find that we integrated b17

project.properties:glassfish.jsf.version=1.2-b17

now go to javaserverfaces.java.net and the tag to use is JSF_1_2_GFINT_B17.

as I said, not so streamlined yet, something to think about.

thanks for the feedback.

dtangjavanet
Offline
Joined: 2006-03-25

hi, all

i tried to extract jsfout from the glassfish, it doesnot seem to work.

i think that it is definitely best to make jsf 1.2 as a self contained jar to use and download ASAP.

best.

do

carlavmott
Offline
Joined: 2005-02-10

Hi Oleg,

Thanks for considering GlassFish. I'll try to answer your questions.

1) Will Glassfish support clustering?

At JavaOne last year we discussed this and it will happen at some point but don't have a date.

2) What is the difference between Glassfish and Sun Java Application Server 9? What editions it's going to have? How different will they be?

Currently, GlassFish is Sun Java System Application Server PE 9.0. There is a difference in the installer but that is all I believe. SJSAS SE and EE are not currently available under an open source license (see #1 above).

3) What is the release date?
https://glassfish.dev.java.net/public/Roadmap.html says that May 8 is the targeted FCS or final release. At this point I think it may be alittle later. Of course, JavaOne is late May and in the past we have had a release for JavaOne.

4) Will source code be accessible as a zip archive? Because I am kind of confuse. Let's say I download a M5. How can I get exact sources of this release? Otherwise I cannot debug the problems of the application server itself. Especially we are talking about beta version.

We are working on this. Hopefully this week we can have a bundle for the M5 release. I have asked our RE to create this additional bundle with each of the promoted builds but not sure when that will happen.

5) Where can I find API docs? Not the docs of the Sun's Server, but Glassfish. Will there be a zip archive of particular version? Let's say M5.

What we have are the javadocs which include the Java EE 5 APIs and the Sun/GlassFish APIs in one bundle. They are online at https://glassfish.dev.java.net/nonav/javaee5/api/s1as-javadocs/index.html
but these will be updated through out the release.
The beta/M5 version can also be found at https://sdlc3d.sun.com/ECom/EComActionServlet;jsessionid=A1CC284B9B2D3BD...
and that will not change during the release.

hope this helps.

carla

minoleg
Offline
Joined: 2004-08-12

Thanks a lot for rapid and clear answers. (at list Glassfish has good support.) Your docs URL did not work though.

Would you suggest to start development against Sun Java Application server or Glassfish?

Thanks again,
Oleg