This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32507
    
214

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


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, 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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32507
    
214

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
    
    5
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
 
Have you checked out Aspose?
 
subject: server side validation using EJB
 
It's not a secret anymore!