Slashdot Mirror


Geronimo! Part 1: The J2EE 1.4 Engine That Could

An anonymous reader writes "Java-based open source development has come a long way since the early days of developers sharing GUI libraries. Geronimo is a large-scale project attempting to create a certified J2EE 1.4 server based on existing open source components. Take a tour through the Geronimo maze with Sing Li as your guide. Gluecode Software CTO and principal Geronimo contributor Jeremy Boynes shares his perspective on Geronimo and go here to learn how to use the new Eclipse plug-in for Apache Geronimo."

21 comments

  1. Re:How about Java 1.5? by MoonFog · · Score: 2, Insightful

    What are you talking about? Using JSP is pretty close to PHP. If you're talking about using servlets .. well, best tool for the job. You don't use Servlets if your resulting page has a lot of pure HTML. Also, J2EE is a server suite with support for EJB's. If you haven't tried these, then you haven't really tried J2EE either.

    What do you mean by the code "does not look intuitive"? It's Java, nothing more, nothing less.

    Java 1.5 has been renamed to Java 5, and despite the name change, Java 5 is still part of Java 2. The change was marketing based.

  2. JVM is dime a dozen. Classpath is the key. by Anonymous Coward · · Score: 1, Insightful

    None of these free JVMs would be anywhere without the fine work of the Classpath contributers. Any sufficiently motivated individual can make a JVM in a year. It may not run quickly - but it will run. Writing the Java libraries on the other hand is a monumentous undertaking requiring dozens of people and many years of work. This is where Classpath comes in.

    Let's hear it for Classpath!
    Hip hip hooray!

    1. Re:JVM is dime a dozen. Classpath is the key. by The+Mayor · · Score: 2, Informative

      These aren't JVMs, they are application servers. *Very* different things, really.

      Geronimo, JOnAS, and JBoss all work with Sun's classpath. They may also work with the open source Classpath stuff. But these aren't intended as JVM replacements.

      --
      --Be human.
    2. Re:JVM is dime a dozen. Classpath is the key. by NeoBeans · · Score: 1
      Also, consider that for mission-critical applications, most vendors will only certify their application server running on specific JVMs.

      Part of that is the familiarity they have with the inner-workings of the Sun-provided J2SE classes.

      It will probably be a while before we see GNU Classpath leveraged in a commercial application server, but it would be interesting to see if Geronimo or JBoss attempts this before the commercial players do.

  3. what about tomcat? by hammeredpeon · · Score: 0, Troll

    i didn't rtfa, but why do this when tomcat is already considered the j2ee standard?

    --
    best college pickem site ever: pickem.terrbear.org
    1. Re:what about tomcat? by s100w · · Score: 3, Interesting

      Tomcat is just a servlet container. A J2EE-compliant app server like Geronimo is a servlet container + a whole lot more.

      Granted, most people only use their app server as a servlet container.

      Those people would be better off with just Tomcat or Jetty. Interesting/nice to see Jetty included with Geronimo.

    2. Re:what about tomcat? by The+Mayor · · Score: 1

      Yes, the Jetty lead works for Gluecode now, I think. That's one of the reasons the JBoss/Jetty integration has been dropped. There's bad blood between JBoss & Geronimo.

      --
      --Be human.
  4. Re:How about Java 1.5? by 2*2*53*4127 · · Score: 1

    Java 1.5 has been renamed to Java 5 ... [and] is still part of Java 2. The change was marketing based.

    obviously :(

  5. Re:How about Java 1.5? by Anonymous Coward · · Score: 2, Insightful


    If you are copying-and-pasting code, then an object-oriented language is not the tool for you.
    Come to think of it, if you copy-and-paste code, the only tool for you is a CS course.

  6. Re:How about Java 1.5? by Tim+C · · Score: 2, Insightful

    You don't use Servlets if your resulting page has a lot of pure HTML.

    Well now, that really depends on your architecture. For example, where I work our inhouse framework uses a single Dispatcher servlet to dispatch actions to the relevant Handler classes. Those classes do more or less processing, but the end result is *always* displayed by a JSP - we *never* use a Java class to output an entire page.

    You can do the same with Servlets - just put anything the JSP needs into the request, then get a reference to the RequestDispatcher from the request and call its forward method, passing in the URI of the JSP.

  7. JOnAS by Joff_NZ · · Score: 3, Informative

    JOnAS is our there... free, and LGPL'ed and is already J2EE 1.4 certified

    It's also not too bad at all...

    --
    The revolution will not be televised. It won't be on a friggin blog either
    1. Re:JOnAS by hritcu · · Score: 1

      It would be interesting to see a neutral evaluation of the three open source app-servers: Geronimo, JOnAS and, of course, JBoss. Judging just by the number of users JBoss should be ahead, but which one is actually better?
      ... my vote still goes to JBoss but I haven't even tried the others. Should I?

      --
      If you don't fail at least 90 percent of the time, you're not aiming high enough. (Alan Kay)
    2. Re:JOnAS by Joff_NZ · · Score: 1

      I'd definitely check them out... in our project, we did 80% of the development on JOnAS, but eventually moved to JBoss because of it's more mature clustering implementation. If we hadn't needed that, we were going to go with JOnAS all the way into production.

      --
      The revolution will not be televised. It won't be on a friggin blog either
  8. Re:How about Java 1.5? by Minute+Work · · Score: 2, Informative

    "our inhouse framework uses a single Dispatcher servlet to dispatch actions to the relevant Handler classes. Those classes do more or less processing, but the end result is *always* displayed by a JSP - we *never* use a Java class to output an entire page."

    That's a lot of words to say "We use STRUTS"

  9. Re:How about Java 1.5? by Tim+C · · Score: 1

    We *dont'* use Struts, we use a framework we developed ourselves. When we first started doing Java projects, around 5 years ago, Struts wasn't really up to the job. It's matured a lot since then, of course, but so has our framework, and so far we've not found a compelling reason to switch.

  10. Re:How about Java 1.5? by chochos · · Score: 2, Funny

    More like: if you are only copying-and-pasting code, the only tool IS you...

  11. Re:How about Java 1.5? by chochos · · Score: 3, Insightful
    for compelling reasons, how about:
    • a large user and developer base, which means better support. Your framework is only used by your company, so only you can support it.
    • Struts is a popular framework, so you can hire developers who already know it instead of having to train them on the use of your own propietary one. This one is even a selling point to the PHB's, since they know that no training time means the newbies can start being productive sooner.
    • It's open source, so if you ever leave your current job and go work somewhere else, you can take that knowledge with you, and use it anywhere else. The knowledge you have about this propietary framework will be useless since it's the company's property (yes, even if you wrote it, since it was on the company's time, unless you had a written agreement saying otherwise)
    I'm not even a Struts advocate, I prefer Tapestry myself. But I once worked at a company where we (mostly I) developed a framework for web applications and guess what... I can't use it now that I don't work there. Oh and I had to keep training people on the use of the framework. And I was the only one giving support to the other developers. And these guys licensed said framework to every customer they had where it was used for their projects, and I got nothing for it besides my paycheck.
    If I had worked on improving Tapestry or Struts or something like that, instead of concocting a propietary framework, I would still have access to that work today, it wouldn't have gone to waste. That's yet another reason why Open Source is good and one of the reasons I like most (being a developer, I take advantage of a lot of open source frameworks that mainly benefit the developer and contribute back whenever I can, either by promoting said frameworks or sending patches, etc).

    Oh and that propietary framework I wrote? I don't think anyone even uses it anymore. Few people really understood how it worked and most of them have also left that company, so now they're left with a useless product, they can't support or upgrade the projects written with that framework. I know that they have even contracted ex-employees for maintenance on projects they worked on while being there... so in the end it wasn't even a good thing for the company either. The use of an open framework would have meant they could hire anyone who knows it for upgrades, maintenance, bug fixes, etc.
  12. Re:How about Java 1.5? by Minute+Work · · Score: 1

    Does your *framework* use a lot of *custom* characters to *emphasize* certain variables? :)

  13. JBoss? by wft_rtfa · · Score: 2, Interesting

    Doesn't JBoss do everything Geronimo does? I don't know a lot about Geronimo, but way would anyone pick Geronimo over a more established open source J2EE App server like JBoss?

    --
    :-] :0 :-> :-| :->
  14. different directions by wzzzzrd · · Score: 1

    i know all these sayings "why another app server?". the interesting thing is, while relying on and using the j2ee standards the different servers take different directions. jboss is strong in it's persistence layer (ejb3 and/ or hibernate, we'll see), the queueing is also not bad. let's see which way apache is going, ie the GBeans thing is not that bad.

    --
    On second thought, let's not go to Camelot. It is a silly place.