2 Replies Latest reply on Sep 20, 2005 7:53 AM by Pieter-Jan Malfait

    Enterprise Java, what are my options ?

    Pieter-Jan Malfait Newbie

      i've posted this question on a couple of other enterprise java forums too. maybe someone here can help me out, my apologies if this is not the right section to post this question.

      I need to develop an application for my company with the following profile:

      The application should perform different kind of functions fe stock management, sales management, financing functions, organisation managament, etc. So both CRUD operations (stock management, client management) as complex business operations (fe attaching a sale to a specific client and updating the stock accordingly) need to be supported. The application is multi-user and users can be in different roles with different access rights (fe global administrator, sales administrator, sales user, ...) so authentication and authorization will play a role. Off course we don't want corrupt data so i guess transactions will come in somewhere too. Last but not least, the app is meant to run inside an intranet with a Swing Java GUI program as client.

      Can anybody bring in any suggestions what kind of architectural design i could use? I'm new to enterprise java and i am kind of lost. I've already read a lot about Hibernate, EJBs (the Ed Roman book), EJB3 (the API), J2EE (the tutorial),... In any case, we are going to go with open source projects (hibernate, jboss ...).

      Any suggestions will be greatly appreciated, thanks in advance!

        • 1. Re: Enterprise Java, what are my options ?
          Elias Ross Master


          For business process flows, JBPM.

          For database access (managing business data) EJB3 or Hibernate.

          Authorization/security can be handled by JAAS. I guess if your protocol from the client/server is web services over HTTPS, you can use it.

          Always build a small and simple app first, and work off other people's examples to begin with. Remember that somebody has probably already built the pieces for your application, you just need to find and steal them.

          • 2. Re: Enterprise Java, what are my options ?
            Pieter-Jan Malfait Newbie

            thank you for the response

            i will certainly look into jBPM, as i hadn't heard of it (although it also is a JBoss product apparently)..

            so i could use EJB3 or hibernate for database access, but do i also need a framework for the rest of the application? For example, can Spring be of any help here , or would session beans and message-driven beans from the EJB3 spec be more appropriate ?

            would it be a good idea to start building a small CRUD application to manage a couple of what i call "helper objects" (like Country, Address, TaxCode, etc) and implement it using the different frameworks (thus making a spring-based one and making a ejb-based one in parallel)?

            it seems a bit paradoxal to me that i understand a lot of the more complex features of J2EE like dependency injection, call interception, transactions, security, etc but i don't know where to begin to develop a small CRUD application, that basically just lets a client create some business objects and persist them :)