I have encountered a somewhat strange behaviour. I use annotations to mark certain classes with a particular purpose, and then I use org.reflections library to find all the classes with the particular ...

When trying to get Realm instance i got the following exception -
io.realm.exceptions.RealmException: Could not find the generated io.realm.HallOfFameHolderRealmProxy class: Annotation processor may ...

I'm making a symfony2 project using Doctrine 2 and i'm using Annotations to map my entities to a MySQL database.
I have read doctrine 2 documentation and it says that the length attribute applies only ...

I'm trying to achieve that once the user reaches a pin annotation on the map it changes it's color from red to green and sets a new red pin annotation at a different location. It seems to work for the ...

I am studying for Spring Core certification and I have the following doubt on an execercise that ask to change this method:
/**
* Adds a Beneficiary with the given name to the Account with the given ...

I am trying to validate incoming SOAP messages annotated with XJsr303Annotations.
Validation works when i apply this technique on Spring controllers, however i cannot make it work for endpoints. Here ...

What I'd like to do is create a custom attribute called [AdminOnly] that applies to fields and methods. I'd like it to restrict which methods you can call of an object, depending on how that object ...

i am learning using Spring 4 by Java annotations, and i could not find how to set default init-method to all beans that belong to specific configuration, without adding the @PostContruct annotation to ...

I have to validate individual fields of a file using annotations. I don't have any options to use any framework(like struts or spring) though MapReduce can be used.
My sample input file will be like ...

I understand that @Transactional belongs to the Service layer, however is it good practices to make a class dedicated specifically for @Transactional operations?
The purpose of this is to control/call ...

I have a splitviewcontroller application where the master view controller is a UITableView and the detail view controller contains a MKMapView and a single annotation. When I make a selection in the ...

Recently I moved into EJB 3.0. I have some troubles with understanding the difference between different annotations for bean binding. Assuming the bean will be accesed through a local interface, there ...

I am studying for the Spring Core certification and I have the following doubt related how Spring MVC handle a controller method of a example Spring MVC webapp.
So, in my example, I have this method:
...

I have a bean that have some attributes with annotations for certain fields.
I use this bean two times
The first time I need to use bindingResult.hasError function on all attributes(no problem).
The ...