Anu, 1) Not sure what you are asking.
A) It is easy to configure multiple application contexts for different applications on the same server, e.g.: http://www.domain.com/app1/xxx http://www.domain.com/app2/yyy However, I have had problems in cases where app1 and app2 use the same EJBs. I couldn't figure out how to build and deploy the 2 different apps without conflicts. I ended up having to assign different EJB names to same EJBs for each app and modify the classes to give them different names, even though they have the same code otherwise. I believe this is a class loader issue and the JBoss documentation is not very helpful or clear. This shouldn't be necessary, since the original concept of EJBs was that you could buy EJB components from a vendor and then deploy these same EJBs in different applications. It should be possible to have app1 and app2 refer to the same EJB jar file, ideally referring to the EJBs with the same EJB name for both apps. There appear to be some options in the deployment descriptors to do this, but I haven't gotten it to work. B) If you want to run multiple versions of the same EAR file, say for developing and testing in one JBoss instance, I'm not sure this is possible. C) If you are trying to run multiple instances of JBoss on the same machine, I haven't tried this. You can certainly do it with User Mode Linux, where a single machine is configured as multiple instances of Linux, each with their own root. But this requires you to partition your RAM and Disk. My IP does exactly this to support multiple, independent customers on the same machine. I haven't found any JBoss documentation on how to accomplish either A, B, or C above. If any other folks on this list know how to do this, I would be very interested. 2) I have successfully deployed the same EAR files on: - Red Hat Linux 9 with Apache 2.0, Jetty, JBoss 3.2.2, MySQL 4.0 - as a test environment - White Box Enterprise Linux 3 with Apache 2.0, JBoss 3.2.2/Tomcat bundle, MySQL 4.0, SSL - for production - Windows XP with JBoss 3.2.2/Tomcat bundle, MySQL 4.0 - for development using http://localhost:8080 The two Linux deployments are hosted at www.rimuhosting.com. I am a Linux newbie and the services of the very knowledgeable sysadmin at RimuHosting have been critical in getting the servers set up and operational. When using Apache and JBoss/Tomcat, you need to set up the mod_jk2 connector that forwards port 80 traffic intended for JSPs or Servlets to port 8080. Configuring SSL was also somewhat complex. There are a LOT of pieces that must all be set up properly. Regards, Hugh At 09:33 AM 6/23/2004, you wrote: >Thanks a lot, Hugh. I have few remaining questions regarding JBOSS 3.2.x. > >1. Easy configuration o multiple, independent application spaces. >2. Individual developer instances that run on a variety of platforms. > >Thanks >Anu > >Hugh Allen <[EMAIL PROTECTED]> wrote: > >>Anu, >> >>1) I am not using web services, so I can't help with this one. >> >>2) The JBoss business model is that you have to PAY for support and for training. In >>my case the cost is prohibitive for both, so I am on my own. This is the main reason >>I wish the JBoss documentation was a LOT better. >> >>3) I am using CMP 2.0 entity beans for ALL of my database interaction. CMP 2.0 is a >>beautiful thing, since I just have to write some very simple SQL in the deployment >>descriptors. But the tradeoff is less control. My understanding is that JDBC or JDO >>could provide more control, at the expense of code complexity. I am very pleased >>with CMP 2.0. >> >>You can control JBoss interaction with the database to some extent, depending on >>your technical requirements, by specifying loading parameters in your deployment >>descriptors. As I understand it, by default JBoss retrieves the key values for each >>query and the goes back and retrieves the actual rows of data later, one by one, as >>required. However, you can tune this behavior. JBoss supports: >>- load groups (which columns are read) >>- read-ahead - on-find and on-load (which rows are read in a single request) >>- various commit options that determine whether how data can be cached (depending on >>whether JBoss has control over ALL database updates) >>- transaction options >>- locking options >> >>4) If you are referring to dynamic loading of EAR files (including WAR and JAR >>files), this seems to be one of the BEST features of JBoss. Just drop a new EAR file >>in the JBoss server's deploy directory and it will be deployed automatically. This >>works great. I haven't used the other major EJB containers, but I understand they >>don't have this feature. >> >>Hugh >> >>At 04:09 PM 6/21/2004, you wrote: >> >>>Thanks a lot to Phillip Rhodes and Hugh Allen for their invaluable insights. >>>Please do comment on the following questions regarding JBoss 3.2.x >>> >>>1. Easy implementation of Web Services >>>2. Quality of technical response/support >>>3. Efficient CMP communication with selected database (i.e. is the SQL optimized >>>prior to submission or is there lots of interaction with the database ) >>>4. Dynamic loading of new files >>> >>>Thanks in advance >>> >>>Anu >>> >>> >>>Hugh Allen <[EMAIL PROTECTED]> wrote: >>> >>>>I have been using JBoss for less than a year, so I am no expert. The learning >>>>curve is pretty steep for both J2EE and JBoss. >>>> >>>>Phillip Rhodes replied separately to your email, and I generally agree with his >>>>comments. >>>> >>>>1) I believe JBoss supports all of the important parts of J2EE, and each release >>>>has more functionality. It has everything I need, and the price is right. >>>> >>>>2) I haven't used load balancing or clusters. >>>> >>>>3) The JBoss forums have a lot of information. By contrast, the documentation, >>>>which costs $10, is not particularly good. It explains a lot about how JBoss works >>>>internally, particularly the JMX aspects, but it is not very readable and does not >>>>contain a lot of "how to" information that is useful for new developers. >>>> >>>>Since it is open source, it always seems like the JBoss folks actually expect you >>>>to read the source code to answer your questions. After all, that's what THEY do. >>>>I have had to do this on at least one occasion, and it's not a great way of >>>>figuring out what is going on. >>>> >>>>4) The JMX console is not very intuitive. The best source of information to figure >>>>out what is going on in the server is the log files. >>>> >>>>5) I can't provide any real details on database connection pooling. I am using >>>>MySQL with InnoDB tables and performance seems pretty good, but I don't yet have >>>>much load on my current applications. >>>> >>>>6) I have two Linux web servers running JBoss - both located in the same data >>>>center in New York state. >>>> >>>>The test web server is running Red Hat 9 with User Mode Linux, where the machined >>>>is partitioned to support around 20 customers. (See www.rimuhosting.com) >>>>Originally, my partition had 128MB of RAM to support Linux, JBoss, Jetty, Apache, >>>>and MySQL. I was getting constant out of memory errors. Increasing this to 192MB >>>>RAM solved the problem, but this machine is pretty slow, as you might expect. >>>> >>>>Just set up a new dedicated server running White Box Enterprise Linux 3 with 1GB >>>>RAM. This machine is not currently running Apache or Jetty - it uses the embedded >>>>JBoss/TomCat instead. This configuration is much faster and response times are >>>>quite good. >>>> >>>>Regards, Hugh >>>> >>>>At 01:16 PM 6/21/2004, [EMAIL PROTECTED] wrote: >>>> >>>>>Hi >>>>> >>>>>I have a couple of questions related to JBOSS 3.2.x. >>>>> >>>>>1. Does JBOSS 3.2.x support J2EE 1.3 fully? >>>>>2. Is it easy to configure additional load balancing servers? >>>>>3. Good Usenet group support? >>>>>4. Does it provides application monitoring tool? >>>>>5. How efficient is database connection pooling? >>>>>6. Required CPU and RAM? >>>>> >>>>>Thanks in advance >>>>> >>>>>Anu >>>>> >>>>>__________________________________________________________________ >>>>>Introducing the New Netscape Internet Service. >>>>>Only $9.95 a month -- Sign up today at http://isp.netscape.com/register >>>>> >>>>>Netscape. Just the Net You Need. >>>>> >>>>>New! Netscape Toolbar for Internet Explorer >>>>>Search from anywhere on the Web and block those annoying pop-ups. >>>>>Download now at http://channels.netscape.com/ns/search/install.jsp >>>>> >>>>>_______________________________________________ >>>>>Juglist mailing list >>>>>[EMAIL PROTECTED] >>>>>http://trijug.org/mailman/listinfo/juglist_trijug.org >>>>> >>>>> >> >> > >__________________________________________________________________ >Switch to the New Netscape Internet Service. >As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register > >Netscape. Just the Net You Need. > >New! Netscape Toolbar for Internet Explorer >Search from anywhere on the Web and block those annoying pop-ups. >Download now at http://channels.netscape.com/ns/search/install.jsp > >_______________________________________________ >Juglist mailing list >[EMAIL PROTECTED] >http://trijug.org/mailman/listinfo/juglist_trijug.org > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.710 / Virus Database: 466 - Release Date: 6/23/2004
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.710 / Virus Database: 466 - Release Date: 6/23/2004
_______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org
