Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by Community: GlassFish

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  


JCP

I am glad our team and me ofcourse, part of the Support mySchool project in WorldBank for Indonesia's Ministery of Education and Culture (MoEC), the URL is http://bantusekolahku.kemdikbud.go.id The first social media that linked with all the role in our govermental (from ministery directorate, province's education structure, district's educatio structure and schools structure). The public...
on Dec 13, 2012

GlassFish

GlassFish comes preconfigured with Apache Felix Gogo, which is an implementation of OSGi RFC 147, and is a proposed standard shell for OSGi environments. For Glassfish 4.0 there is no longer need to open a separate port to access the shell. The OSGi shell commands are integrated with asadmin, so you can now access the OSGi shell commands via asadmin tool. There is a remote command called...
on Nov 20, 2012

Jini

Here are my slides on my "Remoting Retrospective" presentation at JavaOne 2012: Remoting Retrospective (pdf)
on Oct 26, 2012

Java User Groups

Oracle just give free ADF Essential on Glassfish, a streamline edition of ADF. An interesting thing is there are also OEPE (Oracle Eclipse Plugins) that have ADF inside. which the Jdeveloper edition is far more complete and rich. www.oracle.com/technetwork/developer-tools/adf ADF Essential is free for glassfish deployment, and with support US$ 1250/server (/core??), and you will get the source....
on Sep 29, 2012
OSCON Thursday July 19, 2012 live streaming Table of Contents 1 9:00am OSI - Simon Phipps 2 9:05am Making Magic From Cloud To Client - Mark R. Shuttleworth (Canonical Ltd.) 3 9:30am Open Source: A Recipe For Success - John Mone (Endurance International Group) 4 9:45am An Interview with Gianugo Rabellino (Microsoft) - Edd Dumbill (O'Reilly Media, Inc. ) 5 9:55am Disrupting Hardware: The Next...
on Jul 19, 2012
OSCON Wednesday July 18, 2012 live streaming Table of Contents 1 9:05am The Learning Map : Danny Hillis (Applied Minds, LLC) 2 9:20am The Mudslide Hypothesis of Science : Kaitlin Thaney (Digital Science) 3 9:35am Scaling OpenStack Technology. Lessons From The Field : Brian Aker (HP) 4 9:50am The Clothesline Paradox and the Sharing Economy : Tim O'Reilly (O'Reilly Media, Inc.) 5 The Java EE...
on Jul 18, 2012

Java Enterprise

The following blog articles are part of the JSF Validator series Introduction to JSF Validators The JSF Validator API The LengthValidator The LongRangeValidator The DoubleRangeValidator The RegexValidator The RequiredValidator Writing your own Validator Packaging your JSF Validator Multiple component validation The BeanValidator The FacesValidator annotation
on Sep 17, 2012
In the previous blog entry titled "Writing your own validator" you learned how to write a validator and hook it up for validation. At that time we made it all work using the faces-config.xml file. There is however another way, which we will describe below!   package nohelloworld;  @FacesValidator(value="NoHelloWorldValidator")  public class NoHelloWorldValidator...
on Sep 17, 2012
Since JSF 2 it is also possible to use BeanValidation as specified in JSR 303. The following blog article describes how this JSR has been integrated within JSF 2. With the following JSF managed bean. public class UserInfo {    /**     * Stores the username.     */    private String username;    /** ...
on Sep 17, 2012
Writing your own validator is a straightforward process. It involves implementing the Validator API and making sure you register it properly. Say you want to write a validator that will not allow you to use the string "Hello World" as a value.   package nohelloworld;  public class NoHelloWorldValidator implements Validator {        public void...
on Sep 9, 2012
Say you want to make sure that a value is required. <html xmlns:h="http://java.sun.com/jsf/html"  xmlns:f="http://java.sun.com/jsf/core">  <h:inputText value="#{user.firstName}">   <f:validateRequired/>  </h:inputText> </html> If you want to disable the RequiredValidator on a page you can...
on Sep 7, 2012
If you want to validate input against a regular expression then you would use the RegexValidator. Say you want to make sure only letters are used for a name. <html xmlns:h="http://java.sun.com/jsf/html"  xmlns:f="http://java.sun.com/jsf/core">  <h:inputText value="#{user.firstName}">   <f:validateRegex pattern=...
on Sep 6, 2012
Just like the LongRangeValidator before the DoubleRangeValidator validates if the given value is within the given range, but then a range of doubles. Say you want to make sure your donors can donate as little as 1.00 but at most 250.00. <html xmlns:h="http://java.sun.com/jsf/html"  xmlns:f="http://java.sun.com/jsf/core">  <h:inputText value=...
on Sep 5, 2012
If you want to make sure a value is within given Long range then the LongRangeValidator is for you! Say you want to make sure your users are at least 13 but at most 18. <html xmlns:h="http://java.sun.com/jsf/html"  xmlns:f="http://java.sun.com/jsf/core">  <h:inputText value="#{user.age}">   <f:validateLongRange...
on Sep 5, 2012
The LengthValidator is one of the standard validators that is specified by the JavaServerFaces specification. It allows you to verify (validate) if the proposed input (submitted value) on a given component is valid. Say you want to make sure the minimum length of a password is 6 characters and up to 12 characters. The example below describe how you would put this into a JSF page to make that...
on Sep 4, 2012
The definition of a Validator according to the Validator interface: void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException The Faces Context is passed in so the validator can introspect various aspects of the request and response. The UI component is passed in because the actual value will be stored in that UI component after it has been...
on Sep 3, 2012
During the JSF lifecycle each input value can be validated. As such the JSF runtime allows you to write validators that will take care of that during request processing. Several standard validators are part of the standard JSF runtime. Note that the specification has been written with extension in mind so it is also possible to write your own validator and hook it up for request processing...
on Sep 1, 2012

Java Tools

While I don't normally blog about the exiting world of JVM command line options, this new 7.0 option, which allows you to rotate to a new GC log file, was just so exciting... err... not so widely published that I decided to share. Of course these options only apply when you've used the -Xloggc: option. The settings are; UseGCLogFileRotation, default value: false NumberOfGCLogsFiles, default value...
on Aug 20, 2012

Java Patterns

The indispensable first step to getting the things you want out of life is this : decide what you want. Ben Stein INTRODUCTION Ladies and Gentlemen, assuredly the chances for a technology to fall are huge if it is not driven by a real vision. And in my own perception, a technology is like a pattern, so without a constant transformation, it cannot live beyond the context in which it was made....
on Jul 29, 2012
OSCON Friday July 20, 2012 live streaming Speaker Slides and Video Table of Contents 1 10am Declarative web data visualization using ClojureScript 2 11am Client/Server Apps with HTML5 and Java 3 11:50am Hacking JavaFX with Groovy, Clojure, Scala, and Visage 1 10am Declarative web data visualization using ClojureScript Kevin Lynagh What is Visualization? EdgeBio : bioinformatics...
on Jul 20, 2012