56052

Does ejb stateless class has to be public?

Can @Stateless class have different modifiers than public? In documentation I have only found constraints of constructor/methods visibility, but nothing interesting about class level access.

Answer1:

According to ejb3-1 specification:

4.9.2 Session Bean Class

The following are the requirements for the session bean class:

• The class must be defined as public, must not be final, and must not be abstract. The class must be a top level class

Recommend

  • Access Global .resx file in ASP.Net View Page
  • karplus equation in gnuplot
  • Some questions regarding Initialization Block in Java
  • JQuery-mobile android page flash during transition
  • Using glGetFloatv to retrieve the modelview matrix in pyglet
  • android resolution need help
  • Switch case in Data Binding
  • Ignoring a field without modifying the POJO class with Jackson
  • C#'s “protected internal” means “protected” *OR* “internal”. Does any keyword mean “protected”
  • Regex failing to match number and dash with letter (or space and letter)
  • C++ calling the default constructor with parens vs without parens [duplicate]
  • Powerpoint 2010 VSTO AddIn taskpane on multiple Windows
  • Cassandra: What is a subcolumn
  • Create function that can pass a parameter without making a new component
  • unable to get jsonEncode in magento2
  • Spring boot 2.0.0.M4 required a bean named 'entityManagerFactory' that could not be found
  • How can I set a binding to a Combox in a UserControl?
  • Create DicomImage from scratch using Dcmtk
  • Get data from AJAX - How to
  • Control modification in presentation layer
  • Azure Cloud Service Web Role web pages do not load
  • swift auto completion not working in Xcode6-Beta
  • Can Jackson SerializationFeature be overridden per field or class?
  • Finding past revisions of files in StarTeam w/ .NET SDK / C#
  • Redux, normalised entities and lodash merge
  • Weird JavaScript statement, what does it mean?
  • Apache 2.4 - remove | delete | uninstall
  • Akka Routing: Reply's send to router ends up as dead letters
  • Cannot Parse HTML Data Using Android / JSOUP
  • Windows forms listbox.selecteditem displaying “System.Data.DataRowView” instead of actual value
  • Android Studio and gradle
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • Benchmarking RAM performance - UWP and C#
  • C# - Getting references of reference
  • Angular 2 constructor injection vs direct access
  • Java static initializers and reflection
  • unknown Exception android
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • Observable and ngFor in Angular 2
  • Unable to use reactive element in my shiny app