Help

At JavaOne this year, I gave a more advanced presentation than usual on how to use Bean Validation. A few folks have asked me to share it and there it is.

A bit of warning though, this is a presentation that is best seen live as I talk a lot on my slides and even more during the live demo. I am not the kind of person that reads its slides and the demo part is probably about 50% of the presentation so if you can see Hardy or me doing this presentation live, by all means go.

But in the mean time, here are the slides BeanValidationBestPractices-1.0.pdf[1]. I have also put the demo code on a git repository. Simply do

//retrieve the GIT repository
git clone http://emmanuelbernard.com/various/presentations/beanvalidation-bestpractices/beanvalidation-bestpractices.git bv-bp
cd bv-bp

//checkout the demo when starting
git checkout -b demo-start-branch demo-start-state

//checkout the demo when done
git checkout -b branch-demo-done demo-done-state

//hack

I've defined two tags:

  • demo-start-state which correspond to the demo when I start working on it on stage
  • demo-done-state which correspond to the demo when I am done and leave the stage

I have left a bunch of TODOs in the start state and described what I do in a txt file at the root, you should be able to follow.

Enjoy

8 comments:
01. Oct 2010, 08:28 CET | Link
Not Relevant
[INFO] Compiling 17 source files to E:\tmp\0\bv-bp\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

E:\tmp\0\bv-bp\src\main\java\com\jboss\sample\bv\domain\constraints\CheckBlackListStatus.java:[38,7] static import decla
rations are not supported in -source 1.3
(use -source 5 or higher to enable static import declarations)
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
ReplyQuote
01. Oct 2010, 11:43 CET | Link

Thanks for spotting the issue. I've pushed a change to the Git repo with the fix.

 
10. Jun 2014, 11:31 CET | Link
jack

I also think that artistic entrepreneurs like me are not often recognized or understood.houses for sale north palm beach So, it’s very important to me especially coming from a grassroots and community-based background that I was recognized, but it was also something I never expected would happen

 
02. Sep 2014, 07:07 CET | Link
jack

I thought it was going to be some boring old post, but it really dentist marketing services compensated for my time. I will post a link to this page on my blog. I am sure my visitors will find that very useful

16. Sep 2014, 09:28 CET | Link
michael kors outlet online sale,michael kors,kors outlet,michael kors outlet,michael kors handbags,michael kors outlet online,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors

, oakley vault,oakley sunglasses,oakleys,oakley sunglasses cheap,oakley.com,sunglasses outlet,cheap oakley,cheap oakley sunglasses,oakley outlet,cheap sunglasses,oakley prescription glasses,fake oakleys,oakley sunglasses outlet,oakley glasses,oakley store,fake oakley,oakley sale,cheap oakleys,discount oakley sunglasses, tory burch outlet,tory burch,tory burch handbags,tory burch shoes,tory burch sale,toryburch,tory burch sandals,toryburch.com,tory burch flip flops, ray ban sunglasses outlet,ray ban,ray ban sunglasses,rayban,ray bans,ray ban outlet,ray-ban,raybans,ray ban wayfarer,ray-ban sunglasses,raybans.com,rayban sunglasses,cheap ray ban, oakley sunglasses,oakley vault,oakleys,oakley sunglasses cheap,oakley.com,sunglasses outlet,cheap oakley,cheap oakley sunglasses,oakley outlet,cheap sunglasses,oakley prescription glasses,fake oakleys,oakley sunglasses outlet,oakley glasses,oakley store,fake oakley,oakley sale,cheap oakleys,discount oakley sunglasses, burberry outlet online,burberry,burberry outlet,burberry handbags,burberry factory outlet,burberry sale, polo ralph lauren outlet online,ralph lauren,polo ralph,polo ralph lauren,ralph lauren outlet,polo shirts,ralph lauren outlet online,polo ralph lauren outlet,ralphlauren.com,polo outlet,ralph lauren polo, gucci outlet,gucci handbags,gucci belts,gucci shoes,gucci,gucci belt,gucci sunglasses,gucci bags,cheap gucci, polo ralph lauren outlet,ralph lauren,polo ralph,polo ralph lauren,ralph lauren outlet,polo shirts,ralph lauren outlet online,polo ralph lauren outlet online,ralphlauren.com,polo outlet,ralph lauren polo, michael kors outlet,michael kors,kors outlet,michael kors handbags,michael kors outlet online,michael kors outlet online sale,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors, toms shoes,toms outlet,toms shoes outlet,toms.com,tom shoes, cheap oakley sunglasses,oakley sunglasses,oakley vault,oakleys,oakley sunglasses cheap,oakley.com,sunglasses outlet,cheap oakley,oakley outlet,cheap sunglasses,oakley prescription glasses,fake oakleys,oakley sunglasses outlet,oakley glasses,oakley store,fake oakley,oakley sale,cheap oakleys,discount oakley sunglasses, louboutin,christian louboutin,red bottom shoes,louboutin shoes,red bottoms,louboutin outlet,christian louboutin shoes,christian louboutin outlet,red bottom shoes for women,louboutins, michael kors outlet online,michael kors,kors outlet,michael kors outlet,michael kors handbags,michael kors outlet online sale,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors, michael kors outlet,michael kors outlet online,michael kors,kors outlet,michael kors handbags,michael kors outlet online sale,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors, ray ban sunglasses,ray ban,rayban,ray bans,ray ban outlet,ray-ban,raybans,ray ban wayfarer,ray-ban sunglasses,raybans.com,ray ban sunglasses outlet,rayban sunglasses,cheap ray ban, louboutin outlet,louboutin,christian louboutin,red bottom shoes,louboutin shoes,red bottoms,christian louboutin shoes,christian louboutin outlet,red bottom shoes for women,louboutins, michael kors handbags clearance,michael kors handbags,michael kors bags,michael kors purses

 
31. Oct 2014, 12:55 CET | Link

Another type of meals that has been connected to acne is gluten, or quite simply, meals such as breads, rice, cereal items and oatmeal. important link

 
06. Nov 2014, 10:59 CET | Link
straight from the source

Since they have noticed the significance of doing their aspect in assisting protect the globe, more organizations are not selecting to provide this substitute to conventional publishing. straight from the source

 
15. Nov 2014, 11:49 CET | Link

This is the future and everyone needs to do their part with energy conservation,” said Robichaud. “There is no reason why a plumber can’t lead the way and set the example. www.emergencyplumberschicago.com

Post Comment