aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes server side validation using EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "server side validation using EJB" Watch "server side validation using EJB" New topic
Author

server side validation using EJB

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

may i know if we can write server side validations using EJB?

thanks in advance.
Srikanth Basa
Ranch Hand

Joined: Jun 06, 2005
Posts: 241
Are you speaking about writing business validations ?
Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

yes
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29249
    
139

Yes you can. What is your doubt on the matter?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

may i know one example simple program
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29249
    
139

A business validation could be almost anything. For example, I could have the EJB go to a database using JPA or JDBC to check a user exists.
Reza Rahman
author
Ranch Hand

Joined: Feb 01, 2005
Posts: 580
Rauhl,

Not sure if this is what you are talking about, but have you checked out JSR 303/Hibernate Validator?

Regards,
Reza


Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: server side validation using EJB
 
Similar Threads
Handlers declaration
EJB versus JavaBean
@Ejb annotation does not work
Alignment on Decimal Number
passing data