"Simple Software"

OcpSoft

» The problem is not the system; the problem is education.

August 10th, 2010 by Lincoln

“The problem is not the system, its the way someone can get in. To be honest, most tutorials, how-tos, and documentation sucks, because they ALL are written like the reader already knows the trick. No doc about [Technology] is written for newbies.”
Continue reading this article »

Posted in OpenSource | 6 Comments »

» JSF 2.0 Cross-field Form Validation – Simple in Reality

May 5th, 2010 by Lincoln

I’d like to start by saying that using JSF by itself can sometimes feel trying to pull your own teeth out with a pair of tweezers, but there’s hope. JSF was designed to be a platform of extensions – a foundation for building web-frameworks, and that it’s done very well. JSF 2.0 addresses most of the concerns about usability (so there’s less tooth pulling,) and provides even more extensibility. That’s where Seam Faces comes in, that’s where PrettyFaces comes in.

On many occasions you might find yourself needing to compare the values of multiple input fields on a given page submit: confirming a password; re-enter password; address lookups; and so on. Performing cross-field form validation is simple – just place Seam’s <s:validateForm> component in the form you wish to validate, then attach your custom Validator.
Continue reading this article »

Posted in Java, OpenSource, Seam | 4 Comments »

» Using Embedded Glassfish with Maven

March 23rd, 2010 by Lincoln

Three steps to add Embedded GlassFish to any existing project POM.

The Embedded Glassfish project is hosted on java.net, and as it is described, is very simple: “This project develops APIs and tools around “embedded GlassFish v3″. Embedded GFv3 is a delivery vehicle of GFv3 so that applications and tools can use GFv3 just as a library, inside their JVM, instead of having GFv3 as the overload of the entire JVM process. (And no, embedded GFv3 is not meant to be run on JavaME.)”
Continue reading this article »

Posted in Java, OpenSource | 10 Comments »

» Improving Community – The power of good, centralized documentation.

March 4th, 2010 by Lincoln

If you’ve ever programmed in PHP, Ruby, Perl, Groovy, and probably others, then you know how nice it is to have a central, official space for reference documentation and inline community feedback.

This is something that has sorely been missing from the JEE community, and something that has caused many disparate websites to attempt putting forward a weak effort in providing useful documentation — you leave the community part aside to think that this is a good thing for any open-source technology.
Continue reading this article »

Posted in OpenSource | 2 Comments »

» Announcing – PrettyFaces 2.0.4: URL Rewriting for JSF 2.0

February 19th, 2010 by Lincoln

Continue reading this article »

Posted in OpenSource, PrettyFaces | 3 Comments »

» Safely add / modify Servlet request parameter values

February 4th, 2010 by Lincoln

PrettyFaces

Sometimes things are worth writing about.

While working on the PrettyFaces: bookmarking, and SEO extensions for JSF / JSF2, I came across a need to modify the current request parameters in order to “trick” the system into thinking that additional query parameters had been supplied.

Naively, I tried:

    request.getParameterMap().put("name", new String[]{"value1", "value2"});

But that doesn’t work, because you aren’t allowed to modify request parameter values once the request has begun processing:

    java.lang.IllegalStateException: Cannot find message associated with key parameterMap.locked
	at org.apache.catalina.util.ParameterMap.put(ParameterMap.java:213)

Continue reading this article »

Posted in OpenSource | 3 Comments »

» One year’s time

January 28th, 2010 by Derek

It is amazing what can be done in exactly one year’s time.  January 17th will have been the 2nd anniversary since Lincoln Baxter and I started OcpSoft.  It’s been one seriously fun, and wild, ride with JavaServer Faces and the open-source community.  I want to take a moment to talk about my partner’s success story and what he has accomplished in just one short year.

Continue reading this article »

Posted in JSF, JSF2, OCPSoft, OpenSource, PrettyFaces | 1 Comment »

» JSF 1.2 Components (Book Review)

January 20th, 2010 by Lincoln

As a vocal blogger, I feel responsible for promoting and sharing the good work of others, whether that be technology, creative work, or in this case: a book. I will take no exception to that philosophy when it comes to the JavaServer Faces framework. For a quick read, try the summary. If you are intrigued, read on! I hope you find this review valuable.
Continue reading this article »

Posted in JSF2, OpenSource, Technology | 1 Comment »

» Guide to Regular Expressions in Java (Part 1)

January 9th, 2010 by Lincoln

Often unknown, or heralded as confusing, regular expressions have defined the standard for powerful text manipulation and search. Without them, many of the applications we know today would not function. This two-part series explores the basics of regular expressions in Java, and provides tutorial examples in the hopes of spreading love for our pattern-matching friends. (Read part two.)
Continue reading this article »

Posted in OpenSource | 2 Comments »

» Guide to Regular Expressions in Java (Part 2)

January 9th, 2010 by Lincoln

Often unknown, or heralded as confusing, regular expressions have defined the standard for powerful text manipulation and search. Without them, many of the applications we know today would not function. This two-part series explores the basics of regular expressions in Java, and provides tutorial examples in the hopes of spreading love for our pattern-matching friends. (Read part one.)
Continue reading this article »

Posted in OpenSource | 1 Comment »

| Older Entries »

Search

Recent Posts

Recent Comments

OcpSoft Agile Management

Recent Tweets:

Posting tweet...

Sponsored By:

Resources

Meta