BEA WebLogic Server Bible
There are plenty of examples of setting up your WebLogic configuration, with explanations of what the different parameters are and when to use them for Servlets, JSP, EJB, JMS, and more; just what you need when you are having those configuration problems and a great reference to have around when you get stuck. If you like going from concept to implementation, then this is the book for you.
Unlike some other WebLogic centric books, the Bible's coverage of EJB CMP/CMR was good. Also, the coverage of performance monitoring was really well done. And, the ideas for optimization and the thought process behind it was also really well done. These are just a few examples of a really well written technical manual--the missing WebLogic Manual.
A couple areas of concern (some just nits):
1) A few times the examples were WebLogic centric when they could have been written them in a cross platform manner (wrt J2EE ). (Note: A prerequisite of this book is a working knowledge of J2EE.)
2) The EJB examples hard coded the JNDI parameters instead of using the jndi.properties file in the classpath, which is the preferred approach for cross platform J2EE development.
Granted, at times you have to write things WebLogic centric to utilize WebLogic-specific extensions to J2EE, but the book also did this at times when it was not really necessary to do so. A J2EE veteran will catch the difference, and a J2EE novice will not. Bottom line: you should have a working knowledge of J2EE before reading this book and there will not be any problem.
Another problem with the book is that it covers WebLogic 6.1, while WebLogic 7.0 is already out. However, the material is still applicable to WebLogic 7.0. The book was released this year as was WebLogic 7.0. This in an unavoidable problem with books focused on such a target market. By the time they update the 1000-page book to WebLogic 7.0, WebLogic 8.0 will probably be out.
Also, in the next edition they should cover the Weblogic specific Ant tags in addition to the console and other means of deploying applications. Ant is the de facto method for building, deploying and testing J2EE applications, and a book like this should reflect this reality.
If you are new to WebLogic, I suggest that you get this book. If you have been working with WebLogic since before the EJB .8 spec., I suggest that you get this book. This book is not a J2EE tutorial, but it covers the basics and focuses on WebLogic specific areas of concern.
Consider this book recommended.
Links of note:
- WebLogic Bible website
- Books on WebLogic
- EJB 2.0 Tutorial that deploys examples to WebLogic
- Book on building, deploying and testing J2EE components.
You can purchase WebLogic Bible from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
Does it cover Weblogic community known hangups?
Like if you have a large enterprise application running (which is typical if you are running WebLogic), that hotdeploying more than twice tends to cause trouble.
And that its a wise idea to delete the temp directories between restarts, because weblogic likes to keep stuff in memory, regardless if the files/apps still exist?
Stuff like that cause many newbie Weblogic developers hours of confusion. I'd like so see it documented in some weblogic texts.
Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
There is a plethora of Open Source tools out there now that help you avoid vendor lock-in by providing a common interface to vendor specific settings (XDoclet) or actually give you a full fledged app server to begin with (JBoss). A book covering those tools would have a much more lasting value. Not to mention a book on good enterprise application design...
Your pizza just the way you ought to have it.
I'm currently looking into PHP and MySQL, since the Microsoft ASP servers are so expensive to put on the net. But even if this book is very cool and such, I miss some plain old tutorials that explains simpler Java examples. I know JBuilder comes with weblogic (or was it another EJB-compatible server?), anyways, configuring tomcat and all that still makes the platform a little hard for starters like me. I miss compiled html files format help guides (the PHP manual already exist in .chm). Anybody know anything here?
BEA's WebLogic is an application server -- as such, it sits in a small enough niche that you won't find a full shelf of helpful books at your local Borders. If hosting applications for a large organization is part of your work, though, you should read on.
It should be noted that WebLogic is a J2EE app server, so if you are hosting Java/J2EE applications, you should read on.
$819.8m revenue in a year is not "niche" in my book. Slashdot editors yet again demonstrate their inability to understand that the corporate enterprise market is a billion dollar industry which contains lots of professionals for whom "cool scripts" "Perl" "PHP" and "MySQL" exist only to cause issues.
The Application Server market is over 2 billion dollars a year.
Niche my arse
An Eye for an Eye will make the whole world blind - Gandhi
A few times the examples were WebLogic centric when they could have been written them in a cross platform manner
The name of the book is BEA WebLogic Server Bible, and the reviewer is complaining that it's too specific to BEA? Eh?
If they have made their system like that, then I would be happy to use it in the future (instead of custom coding under a tight schedule)
I'm currently looking into PHP and MySQL, since the Microsoft ASP servers are so expensive to put on the net. But even if this book is very cool and such, I miss some plain old tutorials that explains simpler Java examples
PHP and MySQL has nothing to do with Java. Using open source buzzwords to get karma
I know JBuilder comes with weblogic (or was it another EJB-compatible server?),
Comes with Borlands home-built app server.
anyways, configuring tomcat and all that still makes the platform a little hard for starters like me.
Tomcat isn't a full-fledged J2EE server (tomcat only handles servlets and jsps. NOT EJBs).
I miss compiled html files format help guides
Most app servers (Weblogic included) comes with these.
When I first read it, I thought it said "BET WebLogic Server Bible." First thought came to my head was.. wow Black Entertainment TV has its own Bible now.
Yes I knwo it is off topic but wanted to share my thoughts.
NO! NO! Please don't mod me, I'm too young to die a troll. *click* Oh the pain, the pain...
Frankly, with JBoss 3.0 out, if you do need EJB support in an application, that's a great place to start - 3.0 supports clustering using the excellent JavaGroups system, and this was the MAJOR weakness of 2.x vs. Weblogic.
And as somebody with more J2EE experience than I would care to admin, you might really want to think about whether spraying EJBs all over an application is the best architectural solution for the problem at hand. Not every "enterprise class web application" needs EJBs. Can you and will you use CMP? If so, then it's worth it, but REALLY make sure CMP will work for your app (by the way, strong CMP capabilities are one area where Weblogic may still shine more strongly than JBoss). Do you need and will you use declarative transactional boundaries? These can certainly come in handy, though you can take advantage of them with session beans, no need to use bulky entity beans if you don't need them.
By the way - one important thing I should mention - as of 6.1 JBoss was still 2-3x faster than Weblogic 6.1 for all of our applications at my company. YMMV though, depending on the nature of what you are doing, and these weren't formal benchmarks. 7.0 may have finally solved their performance issues - I don't know though, and with my past BEA experiences, I don't think I ever want to know.
We use WebLogic 6.1 heavily on our production website.
We inherited the platform from another development team that was married to MS, and hence put WebLogic on all Win2k servers. On this platform, I've found WebLogic to be stable--but quirky. Getting things tweaked to your liking can be a little strenuous.
We're toying with the Linux version of Weblogic, the biggest plus being that it forces our developers to write code that drops to log files (right now they insist on using Weblogic running in DOS boxes interactively on the desktop(!!!) so they can monitor it realtime).
Early testing is going well, hopefully having a book like this will make the transition a bit easier. I like BEA for supporting the Linux platform, though their support for problems is a little touch 'n go.
-brain
That's cuz you haven't tried Websphere yet. That's a piece of junk if I ever so one. Overpriced, overhyped and underachieving. They shipped WS5.0 saying it's a EJB2.0 app server but... they did not implement CMP2.0! I mean give me a goddamn break! The main difference between 1.1 and 2.0 is the new CMP stuff! Eclipse rocks but Websphere app server is a steaming pile of crap.
Your pizza just the way you ought to have it.
The organization I work for has just dumped weblogic in favor of Jrun mostly because Weblogic was too bloated and needs to be restarted too often for the simplest changes (like adding a database connection). Not to mention its price. At $15k/CPU, it's a bit pricey and Jrun does all of it at a much lower resource footprint and less restarts (actually, not many at all) for only $1k/CPU.
Pbur
as such, it sits in a small enough niche that you won't find a full shelf of helpful books at your local Borders
No. But you will find books on servlets, EJBs, JNDI, JCA, JDBC etc., all of which are of use in app servers. App servers (rightly or wrongly) are the big thing in large enterprises right now, and by no means are they any sort of niche.
I can't believe timothy mentions Borders in this article... I thought all Slashdot automatons were required to plug Think Geek at all times?
I'm actually in the middle of load/performance testing WebLogic and JBoss right now, and I'm suddenly realizing how pointless this is.
Say our server hardware costs $6k. To use that box with WebLogic, it costs $40k total (hardware + 2 licenses because it's dual-CPU). To use that box with JBoss, it costs $6k (just hardware).
It doesn't matter what the performance is. JBoss would have to perform incredibly poorly for it to be worth using WebLogic instead, because I can deploy 6 JBoss servers plus load balancing hardware for the cost of a single WebLogic server. So where WebLogic does 400 ops/sec for a particular load configuration, JBoss would have to do about 65 ops/sec to "break even". As it is, JBoss does about 300 ops/sec for the same load config.
Now if I can just convince the developers that no, they do not *have* to have WebLogic...
-Todd
"The details of my life are quite inconsequential..."
We are seriously considering and are currently evaluating JBoss, after less than two years with WebLogic. Motives?
We are not satisfied with:
1. Licence costs
2. Performance
3. Support costs
4. Easy of use
Preliminary data looks good for JBoss.
Why do we need an application server and in what circumstances an application server is worth?
Tat Tvam Asi
Does IBM not plan to support CMP 2.0 in WebSphere 5?
More people probably died from cancer or auto accidents in the last five minutes than died on Sept. 11. Where are your priorities, Anonymous Coward?
Healthcare article at Kuro5hin
We moved from the iPlanet app server to Weblogic 6.1 about a year or two ago and are so far pretty satisfied.
Weblogic is WAY easier to use than iPlanet, and also a lot more stable...
That said, we have had some Weblogic issues. I'm trying to convince the company to think about running JBoss in some areas, but so far they are very reluctant to move away from Weblogic. TCO, stability, ease of use, all arguments fall on deaf ears who are fearful of using an "open source" solution.
The really funny thing is they bring up again and again - "If it has a problem who will fix it?", when we've had one ongoing crashing problem (where the VM coredumps) with Weblogic that's lasted weeks!! Good thing we have an app server with a dedicated team of people to "fix" things. (Never mind that JBoss also has such a team, only a more responsive one!! Or that I could fix something myself if I have the source!!!).
"There is more worth loving than we have strength to love." - Brian Jay Stanley
I have been using WebLogic since 6.0, and I am under heavy pressure to make the switch to JBoss. The problem is just that THE DOCUMENTATION SUCKS.
If you are working for free and have the time to look into the JBoss code, it might be ok. But for everyone who loves great documentation and standards compliance, there is no need to look back from WebLogic. I need SOAP access to my system, and there is no documentation whatsoever from JBOss. Guess if there is an entire book devoted to this in WebLogic?
When JBoss gets proper documentation, I'll be the first one to make the switch.
Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
its like OT, but blatant promotion of the book and products it describes here without even mentioning competition, mad me spin on my own chair. Zope another alternative to commercial servers written in clean language python that does not treat programmer as malignant influence(as Java does), yet takes best from many languages, including Java and Perl. Zope can be load balanced and attached to many databases(easily!), and it even comes with its own database(plugged in), that is optimized for reading.I suggest you do your shopping first on the web, before buying into megamonster contracts with those companies, check out free alternatives.
JBoss others have mentioned is available if you are really stuck on Java language.
and even WebSphere...
JBoss, also orion (http://www.orionserver.com/)
Anyone else using Orion?? Comments?
First, how are you supposed to do development in an environment where it takes almost a minute to restart the application and find out if your latest change is working properly? That type of coding harks back to the dark ages of coding when you had to wait minutes before the compile and run was finished. There are kludges for creating "simulated" app server environments that give you faster development times, but that can only take you so far.
Secondly, it is practically impossible to create a distributable self-installing application that installs with no fuss into an app server environment. I am amazed that people are willing to put up with the configuration headaches for delivering app server solutions that they would never accept for their desktop applications.
Thirdly, there is a constant confusion surrounding issues like "session" and "non-session" beans, maintaining "transaction compliance", and whole hosts of finagle issues. Many of these issues have a drastic impact on performance depending on your choice, and usually the choices that give sufficient flexibility and acceptable performance are only available with completely proprietary vendor specific solutions.
As far as I can tell, the original vision of having easily developed, easily deployable, and high performing server-side application solutions has been lost and has been replaced by an environment in which it is difficult to create code, painful to deploy solutions, and a real headache to tune for speed.
This is such an unfortunate fate for EJBs. In the original vision, EJBs were to be the server side equivalent of Microsoft's ActiveX controls for the desktop. There are still some good ideas buried in the EJB specs, but the heavy weight app servers have buried these little nuggets inside massive overachieving bloat ware.
No kidding. I mean this is a book on Weblogic after all.
If someone is passing you on the right, you are an asshole for driving in the wrong lane.
Oh yes, I remember those golden days of yore when EJB actually existed. Those were the days, eh?
I work for one of the top 5 IT companies, and we also had _huge_ troubles with EJB's and Weblogic 5.1. We ended up pulling in a BEA consultant for $1000 a day and still couldn't get the problem fixed. A nightware. I ended up re-writing the website using servlets, JSP's, Corba and straight JavaBeans, doing my best to avoid EJB's. The connection pooling worked fine (after a while) so it wasn't much of an issue. I still got some mighty strange errors sometimes. (ever got pkzip out-of-memory exceptions when deploying?)
./startWeblogic.sh"!!!
The number one rule was, if something doesn't work, re-start weblogic. It become our biggest in-joke. You have no idea how many times somebody goes "there's a problem with.." and someone shouted back "./stopWebLogic.sh;
If you take the amount of money that it costs to set up WAS or WL on a cluster, counting the support contracts etc., divide it by two, then wave it at the JBoss people, you are likely to get extremely intensive hands-on help from the people who wrote the code you are having trouble with.
Maybe you probably weren't paying enough. A top-notch BEA Weblogic consultant able to make the thing really sing, could cost well over that figure.
Lots of people are doing it, especially for development.
It's really a rather good way to go. Jboss for development will keep your cycle fast and keep your code very close to the specs (as it should be); then if you want to deploy to something else, it will be relatively painless.
Dont' forget Resin EE.... Check out article on Resin: The Instant Application Server by Daniel Solin 09/18/2002 "Imagine a Java Web application server that runs on Unix, delivers incredible performance, is really easy to set up, and inexpensive to boot. Even crazier, imagine that this little app server offers all of the features you expect from a modern Java server, including JSP/servlets, XML/XSL, and EJB/CMP. "
rick hightower dot com
It sounds like you need a copy. I know I did. Ha Ha!
rick hightower dot com
BTW I love Python. I just wish they would have made it a standard scripting language for JSP (Java Server Pages).
My Java Python Book
rick hightower dot com
Bad compliance both to CORBA and to EJB. Slow. Buggy. Expensive. Bad support.
Less is more !
I hate to get tough-coupled "spagetti" application from other developers and apply GoF patterns hoping it help and understanding it doesn't. By the way, using GoF from the beginnig doesn't help either - the language is neither lazy evaluated, nor dynamically typed. It's even not enough strong typed.
I hate to know that "Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified bug-ridden slow implementation of half of Common Lisp." (Greenspun's Tenth Rule of Programming) and that it's perfectly applied to Java.
I hate to feel myself like a sheep blindy following Sun Microsystems.
And I hate the job market stupidly demanding mostly only Java programmers.
I probably came too early and I should wait another 10 years when the computer market will recognize that GOTO was only a part of the problem. ANY distructive coding is not a programming.
Less is more !
Now I am not saying that BEA is like that, maybe they actually support their product. However, put it to another industry. What if UPS could not depend on Ford (who knows what they use, work with me here) because the vehicles constantly died, required 5 times the gas, ran slow, ground the gears under normal operations, spontaneously burned (including the cargo), etc. Yet all through this UPS is charged huge fees not to actually FIX the problem, but simply apply more bandaids. Will they get their money lost back? Will they be given the ability to restore the faith of the customers that were let down? No and no, however they will most likely choose another vendor for their trucks.
In a perfect world (well one that still allowed imperfect software) then what you say would be great. However, since competition is what makes products cheaper yet better, and makes service dependable yet unnecessary... I think that the solution now is to go open source. Hell, even Ballmer admitted the very simple fundamental fact that their prices (MS's) must be justified, as they will not be giving away their software.
Side track now... given that last part, I don't understand why people think Open Source or Free Software is socialist. It is very much Free Market, the price is simply on service not on the product now. Isn't the US more of a service oriented society today?
That was not arbitrary, as one time I heard this hospital admin berate a doctor for making a joke like this. It was a generic joke (not aimed at any patient or real case) and was not in anywhere the patients ever go. One of the doc's calmly asked the suit what his job was, and the idiot took the bait and rattled on about saving lives and such with his PR rhetoric. When the doc asked how many times he had literally himself saved a life, whether on duty or just passing on the road randomly upon an accident the suit finally realized the trap. Another doc reminded the suit about how a previous years policy would have cost lives and livelihood to which many doctors paid many expenses out of their own pockets so that the 'poor little executives' could continue to make their millions while claiming they lost money. The suit left without comment.
Damn that was gratifying. Anyway, what this leads to is that I really hope that the poster is not one of these that confuses ACTING like he cares with the ACTION of caring and doing things to help. If I had a dime for every pathetic, brainless, morons in uniform or government/contractor suits that caused vital systems to be fucked up by their obvious lack of real caring, or the direct compromise of mission critical data, or the direct compromise of lives because they were too busy ACTING like they cared... I could fund my own military and fill it with the few remaining folk that are dedicated to preservation of freedom and life. Don't come here and patronize anyone about talking about nerf toy guns, when it is shitholes like you that end up giving the military (and by this I mean the real fighting men, not these bureacrats in tailored suits with name-tags) the broken and useless shit (policies and equipment both) that cause them to not be as effective. You sit back in your comfy fucking chair and play 'hearts' while some 19 year old kid is getting shot at or a brand new widow and her 3 kids are mourning the loss of their father. Cry me a fucking river, asshole.
You wanna help? Then make Bush enact a policy to remove all the self serving fuckwads in the military and actually fucking open up "The Art of War" instead of spending another day making a powerpoint slide.
As for your half, if problems like this happen alot then it might be a sign that your company has not done an adequate job of educating the customer or assisting in initial setup. There shouldn't be any guess work for software that is as expensive as WebLogic.
Now don't get me wrong, I have worked with vendors before to where we ended up helping them refine their product and setup process. Unfortunately this meant we did not have time to actually implement our system with their product so they lost the actual sale. Even Ballmer has admitted that non-free software (and especially OpenSource) must justify its cost. I see little justification for using any product that expensive where I have to feel around in the dark to setup the environment properly.
As an (sort of) aside... I recall hearing once from an exasperated tech support person to a very large vendor recenly that "Often we get complaints and questions about this [issue], however the solution is not that hard and definitely not as hard as people are making it out to be." When I first asked if that was documented, she responded that "No, that is exactly what I am saying... it is not a big issue." Then I asked her for a synonym for "often" until she realized I meant "Frequent" as in Frequently Asked Question (not to mention common sense dicating that if it is such a common problem then obviously it is not a trivial matter if only from a numerical perspective).
From my experience, many tech support departments of software houses seem to forget the very fundamentals of tech support.