7 Replies Latest reply on Nov 23, 2003 4:30 PM by juha

    ejb, jboss and science computing

    bigbinc

      I work with scientific computing and love java approaches for solutions, but up to this point I havent done any real processing with a entripise java beans. But I would like to. My question, is it possible to build a server in the socket sense with enterprise java beans. I think of ejbs for transactions, but I would really like to do more processing and also perform file IO like writing images or pdfs online through the application server. I like the nature of java beans but I also want the simple architecture of your typical client/server app ie a webserver.

      Am I wrong for wanting to use ejb or should I go to some other middleware, ie ACE.

        • 1. Re: ejb, jboss and science computing

          You should go with JBoss (which is Java middleware but not in any way specific to EJB or J2EE). The component you want is an MBean, not an EJB.

          -- Juha

          • 2. Re: ejb, jboss and science computing
            bigbinc

            hmm, it looks like deploying an mbean is exactly what I need, especially for the file io, but where should I look for research on deploying one successfully with jboss, I have been reading some jmx resources.

            Also, how will the mbean that I write conflict with the main jboss mbean, or will it at all?

            • 3. Re: ejb, jboss and science computing
              bigbinc

              I guess then again, jboss is built around its mbean server. I dont think I will need as much functionality as jboss.

              • 4. Re: ejb, jboss and science computing

                MBean is just another service registered to the kernel, it won't conflict with other services.

                -- Juha

                • 5. Re: ejb, jboss and science computing

                  > I dont think I will need as much
                  > functionality as jboss.

                  So strip out the parts you don't need.

                  -- Juha

                  • 6. Re: ejb, jboss and science computing
                    bigbinc

                    Mainly directed to juha,

                    Based on your info, I could in theory write my own HTTPServer, looking at the jboss source code, it seems like that is easy to do, as long as configure my mbean properly? also, your name seems to be all over the jboss source, does the jboss group take vacations?

                    • 7. Re: ejb, jboss and science computing

                      > Based on your info, I could in theory write my own
                      > HTTPServer, looking at the jboss source code, it
                      > seems like that is easy to do, as long as configure
                      > my mbean properly?

                      Yes, you can implement any service you need and register that to the microkernel.

                      > also, your name seems to be all
                      > over the jboss source, does the jboss group take
                      > vacations?

                      No.

                      -- Juha