-1

I searching in web for find a validation framework at java. I found several choice such as:

All those framework have several benefits and options, also those cover my requirements.

My question is : Is there any API for validation framework?

(I needed this requirement in 'Script Language Invocation' and solve by 'Apache BSF (Bean Scripting Framework)', it is an abstraction layer for invoking script in java)

I don't know about validation framework in java, if my question is wrong sorry.

Denis Tulskiy
  • 19,012
  • 6
  • 50
  • 68
Sam
  • 6,770
  • 7
  • 50
  • 91
  • 2
    I don't understand your question. Any validation framework will offer an API, how else would you use it? What exactly do you mean by API? – meriton Aug 25 '12 at 13:13
  • Yes,such as `Hibernate` and `JPA` relation, a interface collection and a implementation. I discuss `Apache BSF` for this reason. – Sam Aug 25 '12 at 13:45
  • Ah, you mean an *abstraction layer*? An API with *several* implementations from different vendors? – meriton Aug 26 '12 at 08:04

2 Answers2

2

A bean validation API has been standardized through the Java Community Process as JSR-303, and included in the Java EE 6 specification.

About implementations see

Is there an implementation of JSR-303 (bean validation) available?

Community
  • 1
  • 1
meriton
  • 68,356
  • 14
  • 108
  • 175
1

I have always found OVal to be a very useful validation library - http://oval.sourceforge.net/

JamesB
  • 7,774
  • 2
  • 22
  • 21