Berg Oliveira

Greenhorn
+ Follow
since May 25, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Berg Oliveira

Hello

My situation: I have the following panel:
- Using Project: EJB Glashfish + v3 + Netbeans 6.8
- Platform: WEB
- Type of project: EAR

: I have a SessionBean called GenericDAO, which is the only one who knows the others sessionbeans and, through them, the persistence layers.
Needed to implement a new method in my GenericDAO. Something quite simple: get the object type and do a specific search in the corresponding SessionBean.
This new method was created pq no other existing method to satisfy my situation.

The problem: when I try to access this new method GenericDAO, Glassfish says he does not have permission. Simple as that.
Did another test: I created another method that did nothing, just returning 'null'. Returned the same error.

So if I use the methods already published, shows no problem.
If you need to implement a new method, at the execution, gives the error below.

Emphasizing:
- Every time I need to create a new method, it gives this error.
- I had to reimplement the entire project once cuz I could not resolve this error, and I think it can not be so.

So, any help is welcome.
Thank you. God bless