Working with implicit and explicit conversions

Introduction

By implicit conversions, we understand all the conversions that JSF will accomplish  automatically, without the presence of an explicit converter (in other words, if you don’t specify a converter, JSF will pick one for you).

Actually, JSF uses implicit conversion when you map a component’s value to a managed bean property of a Java primitive type or of BigInteger and BigDecimal objects.

In this article, we will see an example of an implicit and an explicit conversion. Anyway, don’t  forget that explicit conversion provides greater control over the conversion.

 

System.out.println ("Hello");
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: