I think I've decided that custom tags aren't worth your time. Certainly 'classic' custom tags, pre JSP 2.0, are ridicuously hard to use regardless of if you'd actually want to use them. I'm not talking about those. I'm talking about custom tags in general. Simple tags, .tag files, and the whole custom tag mechanism.
We have the JSTL, which includes a few helpful tags that take care of iteration,...
on May 23, 2005
Why is it that the first servlet people teach is one that produces static content? HelloWorld.html is appropriate. HelloWorld.java is silly. The more JSP/Servlets I do, the more frustrated I get when I see others do a mediocre job of introducing the important concepts. Sure it is important to teach that code goes in WEB-INF/classes and all the other beginner's stuff, but it certainly doesn't...
on May 23, 2005
You need to be subscribed to JDJ to read this or wait for the print copy. The timing sounds like it is going to be for Javaone.
Update: Someone emailed me asking what else did the email say
Here are more snippets
"The name change involves removing the "2" from the platform names"
"This needs to be communicated internally within Sun, and to the Java licensee...
on May 13, 2005
In my previous entry on J2EE, I made a somewhat deliberately inflammatory rant on the proliferation of web frameworks. In my online reading, I had not been able to wade through all the available information to come up with a coherent view of how they can all fit together. So, I used my soapbox here to provoke some discussion.
Boy, was that a good idea! The conversation drifted from the...
on May 12, 2005
The main problem that I hear about using transactions is performance. In order to guarantee atomicity in the presence of failures, the coordinator must first execute the two-phase commit protocol across all participants to achieve consensus. Assuming the all say "yes" during the first (preparation) phase, the coordinator must then make its decision to commit durable (persistent), so that if there...
on May 11, 2005
extreme programming tells us:
don't waste your time building features that you don't even know yet you're going to need
that's so true and many of us have in the past been bit by this tendency to try to
forecast a need.
however, i find that one can look at software application development in general and come
up with a list of infrastructural tasks that are performed repeatedly and...
on May 10, 2005
on Apr 25, 2005
I'm pleased to announce the availability of the Public Review
revisions of the next release of the JavaServerTM Faces and
Pages specifications. The Faces spec may be downloaded from <http://www.jcp.org/en/jsr/detail?id=252>
and the Pages spec may be downloaded from <http://www.jcp.org/en/jsr/detail?id=245>
We really want feedback! Please use our Forum
to share your thoughts on the...
on Apr 14, 2005
Struts is a very mature framework. Some may think it is old fashioned or not so cool kid on the block, but like it or not, it is a force to reckon with. If I were running a business requiring a solid web infrastructure, I would bet on Struts. After all, the bottomline for the business is project success and not playing with cool bleeding edge framework. (That's the passion for us, developers)....
on Apr 4, 2005
I put together an initial list of issues that I have with the use of injection for EJB dependencies one night because I couldn't sleep. In short, there are so many issues that I feel it should be removed and replaced with dependency lookup through the context object. Anyway, a co-worker of mine told me about 3 weeks ago that he was going to the TSS conference. So, I polished off the paper so...
on Mar 16, 2005
Dev Bhattacharyya gave a good presentation on J2EE Connection Architecture (JCA) and JBoss. This covered the basics of JCA including Conections, Transactions, and Security. He then discussed RAR files, deployment, and JBoss-related service files. He finished up by showing code developing your own JCA Adapter.
Chintin Shah did an excellent talk on Rule-Based Engine Implementation on JBoss. He did...
on Mar 3, 2005
The ServerSide Java Symposium, blogging live. I just attended Mark
Hapner's keynote and here are my notes.
Mark started out listing some things that companies own, vs. whatcommunities own. Companies own OS's, some protocols (AIM), but theydon't own the wire. Communities own massively distributed services,such as email, content, and also protocols. ...
on Mar 3, 2005
I first attended Marc Fleury's keynote. Marc is the President of The JBoss Group, and he started out by stressing the viability and stability of the company.
He showed how the JBoss application server had moved from a 13% market share a couple years ago all the way up to a market-leading 34%.
He then covered JEMS (JBoss Enterprise Management System),
JBoss AS (Application Server)...
on Mar 1, 2005
I'm here at the JBoss World 2005 Conference in Atlanta and I'll be providing daily coverage in my blog.
The conference started tonight with a welcome reception. I was surprised to see the level of vendor support for JBoss - these guys have come a long way in the last couple of years. The vendor list includes: Intel, HP, Iona, Novell, and Unisys. Both HP and Iona are now providing customer support...
on Feb 28, 2005
"Bring out your dead!"
Early this year, the JDO 2 expert group submitted the JDO 2.0 draft to the JCP Executive Committee, and requested permission to deliver a reference implementation. This is the standard process defined by the Java Community Process. In a startling reversal, the JCP executive committee did not accept the public draft.
"Bring out your dead!"
On the surface, to many on...
on Feb 22, 2005
Recently I've been reading "Head First Design Patterns" as well as
"Java 1.5 Tiger - A Developer's Notebook". Both are really good
books by the way. I was reading the chapter on the State design
pattern when it occurred to me that the new Enum feature in J2SE 5.0
would be a perfect way to implement the state design pattern.
Typically, the state pattern is used to model a state transition...
on Jan 31, 2005
Thanks for letting us to use and download your book "Servlets and JavaServer
Pages: The J2EE Technology Web Tier", that is on TheServerSide.com.
I am wondering, if its free, why the print option is turned off in the pdf
file? It is prohibited to print it? Hope you can answer me on this issue?
You are welcome! I almost completely forgot that the book is free if you register over at the...
on Jan 19, 2005
Andrews article can be viewed here. It's a good introduction on OSGI and you can find another good introduction at this link on OSCAR at source forge.
I think OSGI has a big future on the server side. Andrew talks about the bulk etc of J2EE containers but if we could get the open source and commercial application server vendors using OSGI for their runtime frameworks for servers then a lot of...
on Dec 8, 2004
Here is a reply to a really common question. What are the things I should keep in mind when making a secure website? This particular question was from a person who was considering using Java or Python, but the important stuff really doesn't rely on a particular programming language. If you are green, take a peek. If you know your stuff, fill in what I missed.
You'll note my answer hints at Linux+...
on Nov 22, 2004
Take a look at Lance Andersen's BLOG for details on how to get the Sun Java System Application Server 8.0 (2004Q4 Beta) working with the newly open sourced Java database, Apache Derby.
Apache Derby is a nifty Java database that has it's roots with Cloudscape Inc., which was bought by Informix and subsequently IBM. As an Apache incubator project, the Apache foundation is looking for as many...
on Nov 9, 2004