我正在使用JPA和EJB创建Java EE应用程序。在@PersistenceContext(unitName =“airline”)中的问题是当我评论这一行时,它给了我错误null_pointer_exception,并且当它在服务器上运行代码时得到以下错误。 Severe: Exception while preparing the app : Could not resolve a pers
我有一个JSF项目。在我的项目中,我使用一个StatelessEJB bean将数据库与数据源连接起来。我通过考虑异常的错误代码来处理数据库SQLExceptions。当我得到20999错误代码时,我需要使 bean中的会话无效并将页面重定向到登录页面。 @Stateless
public class DB implements DBRemote {
@Resource(mapped
JAR与EAR文件相对于EJB的distinction是什么? Glassfish的帮助说: [email protected]:~$
[email protected]:~$ GlassFish_Server/bin/asadmin deploy --help
... --type
The packaging archive type of the component th
我想呼吁的服务器负载安全的EJB方法,但我得到异常: 09:49:58,011 ERROR [org.jboss.as.ejb3.invocation] (ServerService Thread Pool -- 54) JBAS014134: EJB Invocation failed on component SecuredEJB for method public java.lang.Str