Jakarta-ee Questions
Ad
How do I deploy an ADF business component?
How do i deploy an adf business component to the middle tier and call it using
How to resolve this message -Failed to convert property value of type java.lang.String to required type
I was building an simple application using spring roo. after doing certain job, i have removed roo completely. so here is my controller
What are the advantages and disadvantages of the Session Façade Core J2EE Pattern?
What are the advantages and disadvantages of the session façade core j2ee pattern? what are the assumptions behind it? are
Does a java:app JNDI name used from within an .ear file require a moduleName component?
I have an ejb packaged in an .ear file. this ejb needs to look up a reference to another ejb packaged in a different
Example of a build.xml for an EAR that deploys in WebSphere 6
I'm trying to convince my providers to use ant instead of rational application development so anyone can recompile, recheck, redeploy the solution
favicon.ico in Java WAR file
Can anybody provide some instruction on how to setup a war file to show a favicon.ico in the browser address bar?
What's your "best practice" for the first Java EE Spring project?
I'm currently trying to get into the java ee development with the spring framework. as i'm new to spring, it is hard to imaging how a good running
JPA: how can i map a property to a derived column that is based on a COUNT from other tables (Without incurring in n+1 select problems?)
These are the entities defined in my project: post @entity public class post implements serializable { public enum
how to fix this error android: Could not find class 'com.owlike.genson.Genson'
Final collaborateur collaborateur = new genson().deserialize(scanner.nextline(),collaborateur.class);
How can I configure Tomcat to always direct to index.jsp after login?
Currently tomcat's login support redirects users back to where they initially were when the application figured out they weren't logged in.
Ad
How to run the PhantomJS script from Java-EE application without specification of script full path?
I need to convert some html content to pdf or image in my server side app java ee. for this, i am using the phantomjs and script
Error in calling Rest Services from Angular JS in a Spring Boot application
Spring boot application hosting rest services at back-end and angular at front-end. i am calling the rest from ui. my
java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: User is not mapped [from User]
I'm getting java.lang.illegalargumentexception: org.hibernate.hql.internal.ast.querysyntaxexception: user is not mapped [from
Which binaries should I go for JWT for java?
I am the novice to jwt token usage, while reading came to know from jwt.io that there are
Why do I need "java:/" prefix for @Resource injection in Wildfly 12?
Starting with a running ear on weblogic 12 i need to get this app working with wildfly 12, too. we've got some jms queues which we inject
Does EntitiyListener run in same Thread?
I have an entity which is annotated with @entitylistener(mylistener.class) in the class mylistener, i have an
Redirect the servlet request to another servlet
In our app for all the notification we trigger through mail. all the templates have non sso link
Synchronisation in java
I was asked a use case in one of the interviews where the interviewer asked: suppose you have a bank account and you are
How can I get exact user details after authorisation
I can't undertand, how i can get user information after authorisation. now i just get user.jsp page without anything, what should i write on it.
Migrating project from tomcat-5.5 to tomcat-7 resulting LifecycleException and Lorg/apache/catalina/util/StringManager not found
I am migrating project created in my-eclipse with tomcat-5.5 to eclipse oxygen project with tomcat-7 and java-1.7 but getting errors while
Running unix scripts in Java EE env?
Can anyone please share their experience of invoking unix scripts from a java ee env, either servlet or ejbs? note that these scripts are to be
Ad
Why do I get a NameNotFoundExcpetion when using context.lookup("java:comp/env/MyBean")
Why do i get a namenotfoundexception when using context.lookup("java:comp/env/mybean") but not when i use
Java EE App Server Hello World
I am fairly comfortable with standalone java app development, but will soon be working on a project using a java ee application server.
How to add headers to HTTP response within ClientErrorException?
I have a custom clienterrorexception and i want to add some specific headers to the response when this exception is thrown.
CDI best way for passing services
I have several service like that: @singleton public simpleservice { ... } i have managed bean @viewscoped
Good practices for field validation with JavaEE
I have a project to write with javaee, but i am new with the technology. i have ejbs which rely on parameters received from a client
Cannot acquire data source [java:app/projectName]
I am new at jpa , i use glassfish 4.1.1, when i try to create an entitymanagerfactory it shows this exception message:
How to select an attribute of a list elements in jpql
I have a project entity, containing a list of its creators, public class project implements serializable { @manytomany
getRequestURI for servlet or jsp?
I'm making a filter for my login form in my jee project. i want to make sure you need to configure your session before you can access any pages
Where to put css and javascript files in gradle java web application
I followed the steps for building java web application using the following guide
Proper way to close connection
We are using connection pool in our project. we see in our project the statements are closed after the connection is closed. i know that in case
hibernate from onetomany to manytomany avoiding loops
I have 6 main tables related to each other in a loop table 1 is elated to table 2 table 2 to table 3 . . .
Ad
Is it possible to have EJBs in domain1/lib using GlassFish?
I use glassfish 4 web profile and i have the following interface and class. @local public interface someservice { ... }
CDI Logging Interceptor not working in @PostConstruct
I wanted to create a logginginterceptor for my current stack: tomcat 8.5.24 weld 2.4.5-final jsf 2.3.3
Deploying a WebApp using Glassfish and IntelliJ
I'm starting out learning to build a java ee web app and following a tutorial which uses eclipse though i use intellij. i've build the
What is a good way of introducing Resource bundle (to support different languages) on an existing system?
We have a legacy application system which has been built 15 years ago and we still use it. our system only supports english. however, right now we
What is the correct way of overriding hashCode () and equals () methods of persistent entity?
I have a simple class role: @entity @table (name = "role") public class role implements serializable { @id
Is EJB-2.0 transaction rollback undo/revert database changes?
Suppose i have written some transaction related code in my ejb bean method as follows: usertransaction utx =
JakartaSever Faces application setup fails with java.lang.ClassNotFoundException: com.sun.faces.util.Util
I'm in the process of setting up a brand new javaserver faces project that uses jakarta. i'm following
Why do I keep a Transactional Context out of the EJB?
I have two layers in a poc with wildfly 10. a webservice with jaxrs calls an ejb maintaining a @persistencecontext. it
Can't connect to MySql server with hibernate and JBoss using persistence api
I tried to use the persistence api in my java ee app in order to connect to a mysql db, but the jdbc connection doesn't work. i'm using a jboss
How to install JDBC driver in Eclipse web project without facing java.lang.ClassNotFoundexception
There is a very similar question to mine
Invalid parameter passing to the URI
Attention! you may not strain the decision, just tell me: which direction i should think! so, we have a very simple service:
Ad
Create Vaadin project without Vaadin plugin
Is it possible to create a vaadin project in eclipse without installing the vaadin plugin?
how to make use of google map javascript
Please i need help on how to display the google map on a page. i used the sample code from developers google console and i obtain a key fro them
How to manage database layer in Java database application without any ORM (JPA/Hibernate)?
I am willing to learn orm later. but now i want to use pure sql codes to manage the data layer of my java web application and don't want to any
Ad
Blog Categories
Ad