Question : I learned to do this with fixed values, eg: @AnnotationType(“ZendFormElementSelect”) @AnnotationOptions({“label”:”Cidade”}) @AnnotationAttributes({“options”:{“1″:”São Paulo”,”2″:”Rio de Janeiro”}}) However, how do […]
Tag: annotation
Spring Framework @Transactional Operation
Question : 1 – Does the Spring documentation describe the use of @Transactional of Spring in business rule classes ( […]
When should I use the annotation @EnableAutoConfiguration and how does it work?
Question : Annotation EnableAutoConfiguration should be used on what kind of project? and how does it work in the application? […]
Is it possible to change the value of a note at run time?
Question : Considering the following annotation: @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface MinhaAnotacao { String valor(); } Defined in a class: @MinhaAnotacao(valor […]
What is the difference between annotation in method and annotation in attribute
Question : Now, I’ve started to learn and use hibernate recently, and when looking for answers to my questions regarding […]
Scope equivalent to @Stateless in CDI
Question : I’m migrating the EJB annotations of my application to CDI and I have some questions: What is the […]