-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Custom Types performance and design pattern
PostPosted: Sun Nov 02, 2008 6:28 am 
Newbie

Joined: Sun Nov 02, 2008 6:19 am
Posts: 2
Hi,

is using Custom Types has performance issues ? is it slower or more memory consuming than native types ?

In our team, we would like to use CustomTypes for each properties of our POJO Objects. For example, imagine a Custommer object, we'll have :

Code:
class Custommer {
  Long id;
  FirstName firstName;
  LastName lastName;
  Address address1;
  Address address2;
  Country country;
}


What are your opinions about it ? Our idea behind this is to abstract the implementation stuff , so that we can change properties mapping later . Another point is that is help us formatting things on screen, filter user inputs, check input validity through these CustomTypes in a single place [/code], [/code]


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.