Skip to main content
0 votes
0 answers
45 views

I am getting different instances (on clicking Test then going back and repeating) of the Demo. I was expecting the same instance. Can someone explain what I am missing here? Bean @Stateful @LocalBean ...
Prashant Kumar's user avatar
0 votes
1 answer
156 views

My purpose is to have a @Singleton class which runs automated scheduled methods throughout the application on a cloud server. But I also have @SessionScoped beans which I would like to communicate ...
v-peter's user avatar
0 votes
1 answer
52 views

This may not entirely be an appropriate question to ask, but why not I'm curious and I do not know the right places to look for these answers (If y'all have links to said places please do drop them ...
Ziyue's user avatar
  • 1
0 votes
0 answers
334 views

I have 2 EJB modules and I want to make communication between them. EJB module has EB (Entity Bean) and SB (Stateless Sesssion Bean) (With Local Facades) EJB module has a simple public class Test ...
Domagoj Hamzic's user avatar
0 votes
1 answer
213 views

I am trying to set a property to a bean ModelBean in a Filter and access this property in a JSF controller IndexController. The ModelBean is annotated @SessionScoped and it is used in the filter and ...
BanzaiTokyo's user avatar
  • 1,414
0 votes
1 answer
130 views

I am trying to get the number of customer who lived in newyork and display on my page. But some doubt in my mind, which way is best to worst, Like stateless, stateful and singleton ejb? Any idea, ...
Programming Android's user avatar
-2 votes
1 answer
423 views

I was reading best practices related to JavaEE APIs and came across a suggestion to use @Stateless and @Path together to make thread safe. That prompted me to inquire that when we do not mention ...
Muhammad Abdullah's user avatar
0 votes
1 answer
869 views

Consider the following scenario : Stateless Annotated Class ClassOne @Stateless public class ClassOne { // some injected fields // .... @Inject private ClassTwo classTwo; // .... ...
Jogin Joy's user avatar
2 votes
1 answer
1k views

I got a problem using the Angular-Proxy to get/set the JSessionID for a @SessionBean. (What is usually handled by the Browser?) I´m trying to send the Request from localhost:4200 to localhost:8080. To ...
Elias S's user avatar
  • 118
0 votes
0 answers
50 views

I'm developing a java SE application containing a single main class inside a Maven module. The main class invokes classes contained in another Maven modules. I would like to have an instance of java ...
user3347007's user avatar
1 vote
0 answers
47 views

I want to invoke server2's EJB via server1, but still received by server 1. Look at my cliet code & screenshot test1 & test2 is ok test3 is fail Does anyone know how to do? thanks Server:...
Loren Chang's user avatar
1 vote
0 answers
379 views

Im trying to use an entity class on my code but im getting "exception java.lang.NoClassDefFoundError:" exception. My student entity class: package entity; import java.io.Serializable; import javax....
Rodolfo Pedro Junior's user avatar
0 votes
1 answer
724 views

I am currently trying to pass the username to a servlet in netbeans. The username is input in the login, such that <input type="text" name="username"> I then access this username in servletA ...
Maja's user avatar
  • 59
0 votes
0 answers
723 views

Im new to java EJB ,Im getting this erro. i think its regarding entity class. can some one help me to fix this issue, thanks a lot. Warning: StandardWrapperValve[registrationsServlet]: Servlet....
SteavenJohns's user avatar
1 vote
1 answer
603 views

Can I use JAX-RS annotations like @Path on an EJB 3.1 session bean which only has a remote interface? This works: @Path("/service") @Stateless public class ServiceOne { @POST @Path("/foo") ...
Christoph Baumann's user avatar

15 30 50 per page
1
2 3 4 5
7