I have a newbie question as it relates to EJBs. When we compose a web application, all the jsp's/servlets etc are organized/packed into a war file which is deployed on to the server, when it comes to session beans and their deployment, are they treated as container level components that dont belong to any individual application?
...
I want to use <groupId>org.glassfish.embedded</groupId> in my dependencies. What repository should I use?
...
I use maven-embedded-glassfish-plugin but repository show the message:
Unable to update index for maven2-repository.dev.java.net|http://download.java.net/maven/glassfish/: Resource nexus-maven-repository-index.properties does not exist
is bug?or this properties dose not exist?
...
I have a database with 2 tables CD and Song. Session bean access then entity classes of those two tables. In my backing bean, I just have a String cd and HashMap<CDName, CDName> cds that will hold the list of CD return back from my sessionbean, so in JSF I would do something like this.
<h:selectOneMenu id="cd" value="#{backingBean.cd}"...
I have a few Hibernate Envers listeners which I use for audit purposes. I am just getting started on CDI and so far am pleasantly surprised by its simplicity and power. Since it seems everything is integrating CDI functionality, I thought I'd raise the question, is Hibernate supporting it or will it?
Not only would it be nice to have ...
Is there a size limit on a SOAP message's input parameters?
I currently need to get a potentially large-ish string with the request, so I'm trying to decide if I will have to use SOAP attachments or not.
I am using Java Web Services.
Thanks,
Alex
...
I'm attempting to use JAAS in Glassfish to handle authentication and authorization in my web applications against Active Directory. First off I have written some POJO programs that can successfully connect to my AD and authenticate against the users and groups I have setup. So I am confident that the usernames, passwords, and groups I'm ...
Yesterday,I read the glassfish embed example this address is:
http://weblogs.java.net/blog/arungupta/archive/2008/11/totd_56_simple.html
but I running the command glassfish:run had a error message
No plugin found for prefix 'glassfish' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] availab...
I'd like to play around with Spring for an upcoming JEE project. Is there any difference between the Eclipse Spring IDE 2.3.2 plug-in (in the new Eclipse Marketplace) and the SpringSource Tool Suite (available at SpringSource).
More precisely: In my understanding, the Tool Suite is basically Eclipse 3.5 with a set of plug-ins. So the qu...
Java Developers!
I would appreciate any comments to which you think would be best for a
beginner. Maybe I could know your reason too? I want to choose one, please.
[1]
Johnson R. (October 2002). Expert One-on-One j2EE Design and
Development (Programmer to Programmer). Indianapolis, IN: Wiley
Publishing, Inc.
Johnson Link
[2] ...
Hello,
I'm trying to figure out the best framework to perform AJAX push to a web application using Java EE 5 on WebLogic server.
I've reduced my alternatives to LightStreamer and Direct Web Remoting. But I would like to know what's the advantage of one on the other.
I would be grateful if I could have an insight from people having exp...
Hello, everyone!
Is there a possibility to get a list of all registered REST resources at runtime?
With REST resources I mean:
either classes which have annotations such as @Path(...) and are considered by the server at runtime (so traversing all classes using reflection would not do),
or URIs of all paths (REST class can have mult...
I have two tables: Users and Roles. A user may have more roles, so this is a ManyToMany relationship.
I've generated the entity classes with Netbeans, and they look like this:
@Table(name = "users")
public class Users implements Serializable {
@Id
@Basic(optional = false)
@Column(name = "user_name")
private String userNa...
Hello,
I am looking for a recognized certification for Java (SE,EE,Spring,etc), <200euro , which I can take online.
If not online (exam), then maybe in my country (Romania).
Thank you
...
If I have something like this
@Entity
public class Facility {
...
@ManyToOne
@JoinColumn(name="CUSTOMER_FK")
private Customer customer;
...
}
does my @NameQuery like this
@NamedQuery(name="Facility.findByCustomerId", query="select c from Facility c where c.customer=:customer_fk")
or like this
@NamedQuery(name="...
Hi all,
I am migrating my Seam 2 powered application to CDI and one of the things that is critical for me to retain is the error handling. In Seam 2, I simply replaced the default exception handler with my own, but in CDI, I am guessing I'll have to use an Interceptor.
How would I set this up as using an Interceptor requires me to spe...
Is there an equivalent of @Startup annotation in Seam which I could use in components.xml?
...
I want to trying maven-jboss-plugin but I don't know what is this,and I want to deploy the war use the jboss-maven-plugin or maven-jboss-plugin?How to use?
...
I add the "http://caucho.com/m2" or "http://caucho.com/m2-snapshot" repository address but is error .Message is
Unable to update index for caucho release repository|http://caucho.com/m2: Resource nexus-maven-repository-index.properties does not exist
Where is the new address?
...
I would like to print the stack trace for the exception that was caught by pages.xml, but I only want to do so if the most granular logging level is more granular than warn. This way, testers can copy/paste the stack trace, but end users will never see it.
Environment details:
IBM WebSphere Application Server 7 (logging level details)...