Source compatibility report for the EJB library between 2.1 and 3.0 versions
Test Info
Library Name | EJB |
Version #1 | 2.1 |
Version #2 | 3.0 |
Test Results
Total Java ARchives | 1 |
---|
Total Methods / Classes | 158 / 32 |
---|
Verdict | Incompatible (9.5%) |
Problem Summary
| Severity | Count |
---|
Added Methods | - | 54 |
---|
Removed Methods | High | 0 |
---|
Problems with Data Types | High | 3 |
---|
Medium | 0 |
Low | 0 |
Problems with Methods | High | 0 |
---|
Medium | 0 |
Low | 0 |
Added Methods (54)
ejb-3_0-api.jar, ActivationConfigProperty.class
package javax.ejb
ActivationConfigProperty.propertyName ( ) [abstract] : String
[mangled: javax/ejb/ActivationConfigProperty.propertyName:()Ljava/lang/String;]
ActivationConfigProperty.propertyValue ( ) [abstract] : String
[mangled: javax/ejb/ActivationConfigProperty.propertyValue:()Ljava/lang/String;]
ejb-3_0-api.jar, ApplicationException.class
package javax.ejb
ApplicationException.rollback ( ) [abstract] : boolean
[mangled: javax/ejb/ApplicationException.rollback:()Z]
ejb-3_0-api.jar, ConcurrentAccessException.class
package javax.ejb
ConcurrentAccessException.ConcurrentAccessException ( )
[mangled: javax/ejb/ConcurrentAccessException."<init>":()V]
ConcurrentAccessException.ConcurrentAccessException ( String message )
[mangled: javax/ejb/ConcurrentAccessException."<init>":(Ljava/lang/String;)V]
ConcurrentAccessException.ConcurrentAccessException ( String message, Exception ex )
[mangled: javax/ejb/ConcurrentAccessException."<init>":(Ljava/lang/String;Ljava/lang/Exception;)V]
ejb-3_0-api.jar, EJB.class
package javax.ejb
EJB.beanInterface ( ) [abstract] : Class
[mangled: javax/ejb/EJB.beanInterface:()Ljava/lang/Class;]
EJB.beanName ( ) [abstract] : String
[mangled: javax/ejb/EJB.beanName:()Ljava/lang/String;]
EJB.mappedName ( ) [abstract] : String
[mangled: javax/ejb/EJB.mappedName:()Ljava/lang/String;]
EJB.name ( ) [abstract] : String
[mangled: javax/ejb/EJB.name:()Ljava/lang/String;]
ejb-3_0-api.jar, EJBAccessException.class
package javax.ejb
EJBAccessException.EJBAccessException ( )
[mangled: javax/ejb/EJBAccessException."<init>":()V]
EJBAccessException.EJBAccessException ( String message )
[mangled: javax/ejb/EJBAccessException."<init>":(Ljava/lang/String;)V]
ejb-3_0-api.jar, EJBContext.class
package javax.ejb
EJBContext.lookup ( String p1 ) [abstract] : Object
[mangled: javax/ejb/EJBContext.lookup:(Ljava/lang/String;)Ljava/lang/Object;]
ejb-3_0-api.jar, EJBs.class
package javax.ejb
EJBs.value ( ) [abstract] : EJB[ ]
[mangled: javax/ejb/EJBs.value:()[Ljavax/ejb/EJB;]
ejb-3_0-api.jar, EJBTransactionRequiredException.class
package javax.ejb
EJBTransactionRequiredException.EJBTransactionRequiredException ( )
[mangled: javax/ejb/EJBTransactionRequiredException."<init>":()V]
EJBTransactionRequiredException.EJBTransactionRequiredException ( String message )
[mangled: javax/ejb/EJBTransactionRequiredException."<init>":(Ljava/lang/String;)V]
ejb-3_0-api.jar, EJBTransactionRolledbackException.class
package javax.ejb
EJBTransactionRolledbackException.EJBTransactionRolledbackException ( )
[mangled: javax/ejb/EJBTransactionRolledbackException."<init>":()V]
EJBTransactionRolledbackException.EJBTransactionRolledbackException ( String message )
[mangled: javax/ejb/EJBTransactionRolledbackException."<init>":(Ljava/lang/String;)V]
EJBTransactionRolledbackException.EJBTransactionRolledbackException ( String message, Exception ex )
[mangled: javax/ejb/EJBTransactionRolledbackException."<init>":(Ljava/lang/String;Ljava/lang/Exception;)V]
ejb-3_0-api.jar, Init.class
package javax.ejb
Init.value ( ) [abstract] : String
[mangled: javax/ejb/Init.value:()Ljava/lang/String;]
ejb-3_0-api.jar, Interceptors.class
package javax.interceptor
Interceptors.value ( ) [abstract] : Class[ ]
[mangled: javax/interceptor/Interceptors.value:()[Ljava/lang/Class;]
ejb-3_0-api.jar, InvocationContext.class
package javax.interceptor
InvocationContext.getContextData ( ) [abstract] : Map
[mangled: javax/interceptor/InvocationContext.getContextData:()Ljava/util/Map;]
InvocationContext.getMethod ( ) [abstract] : Method
[mangled: javax/interceptor/InvocationContext.getMethod:()Ljava/lang/reflect/Method;]
InvocationContext.getParameters ( ) [abstract] : Object[ ]
[mangled: javax/interceptor/InvocationContext.getParameters:()[Ljava/lang/Object;]
InvocationContext.getTarget ( ) [abstract] : Object
[mangled: javax/interceptor/InvocationContext.getTarget:()Ljava/lang/Object;]
InvocationContext.proceed ( ) [abstract] : Object
[mangled: javax/interceptor/InvocationContext.proceed:()Ljava/lang/Object;]
InvocationContext.setParameters ( Object[ ] p1 ) [abstract] : void
[mangled: javax/interceptor/InvocationContext.setParameters:([Ljava/lang/Object;)V]
ejb-3_0-api.jar, Local.class
package javax.ejb
Local.value ( ) [abstract] : Class[ ]
[mangled: javax/ejb/Local.value:()[Ljava/lang/Class;]
ejb-3_0-api.jar, LocalHome.class
package javax.ejb
LocalHome.value ( ) [abstract] : Class
[mangled: javax/ejb/LocalHome.value:()Ljava/lang/Class;]
ejb-3_0-api.jar, MessageDriven.class
package javax.ejb
MessageDriven.activationConfig ( ) [abstract] : ActivationConfigProperty[ ]
[mangled: javax/ejb/MessageDriven.activationConfig:()[Ljavax/ejb/ActivationConfigProperty;]
MessageDriven.description ( ) [abstract] : String
[mangled: javax/ejb/MessageDriven.description:()Ljava/lang/String;]
MessageDriven.mappedName ( ) [abstract] : String
[mangled: javax/ejb/MessageDriven.mappedName:()Ljava/lang/String;]
MessageDriven.messageListenerInterface ( ) [abstract] : Class
[mangled: javax/ejb/MessageDriven.messageListenerInterface:()Ljava/lang/Class;]
MessageDriven.name ( ) [abstract] : String
[mangled: javax/ejb/MessageDriven.name:()Ljava/lang/String;]
ejb-3_0-api.jar, NoSuchEJBException.class
package javax.ejb
NoSuchEJBException.NoSuchEJBException ( )
[mangled: javax/ejb/NoSuchEJBException."<init>":()V]
NoSuchEJBException.NoSuchEJBException ( String message )
[mangled: javax/ejb/NoSuchEJBException."<init>":(Ljava/lang/String;)V]
NoSuchEJBException.NoSuchEJBException ( String message, Exception ex )
[mangled: javax/ejb/NoSuchEJBException."<init>":(Ljava/lang/String;Ljava/lang/Exception;)V]
ejb-3_0-api.jar, Remote.class
package javax.ejb
Remote.value ( ) [abstract] : Class[ ]
[mangled: javax/ejb/Remote.value:()[Ljava/lang/Class;]
ejb-3_0-api.jar, RemoteHome.class
package javax.ejb
RemoteHome.value ( ) [abstract] : Class
[mangled: javax/ejb/RemoteHome.value:()Ljava/lang/Class;]
ejb-3_0-api.jar, Remove.class
package javax.ejb
Remove.retainIfException ( ) [abstract] : boolean
[mangled: javax/ejb/Remove.retainIfException:()Z]
ejb-3_0-api.jar, SessionContext.class
package javax.ejb
SessionContext.getBusinessObject ( Class p1 ) [abstract] : Object
[mangled: javax/ejb/SessionContext.getBusinessObject:(Ljava/lang/Class;)Ljava/lang/Object;]
SessionContext.getInvokedBusinessInterface ( ) [abstract] : Class
[mangled: javax/ejb/SessionContext.getInvokedBusinessInterface:()Ljava/lang/Class;]
ejb-3_0-api.jar, Stateful.class
package javax.ejb
Stateful.description ( ) [abstract] : String
[mangled: javax/ejb/Stateful.description:()Ljava/lang/String;]
Stateful.mappedName ( ) [abstract] : String
[mangled: javax/ejb/Stateful.mappedName:()Ljava/lang/String;]
Stateful.name ( ) [abstract] : String
[mangled: javax/ejb/Stateful.name:()Ljava/lang/String;]
ejb-3_0-api.jar, Stateless.class
package javax.ejb
Stateless.description ( ) [abstract] : String
[mangled: javax/ejb/Stateless.description:()Ljava/lang/String;]
Stateless.mappedName ( ) [abstract] : String
[mangled: javax/ejb/Stateless.mappedName:()Ljava/lang/String;]
Stateless.name ( ) [abstract] : String
[mangled: javax/ejb/Stateless.name:()Ljava/lang/String;]
ejb-3_0-api.jar, TransactionAttribute.class
package javax.ejb
TransactionAttribute.value ( ) [abstract] : TransactionAttributeType
[mangled: javax/ejb/TransactionAttribute.value:()Ljavax/ejb/TransactionAttributeType;]
ejb-3_0-api.jar, TransactionAttributeType.class
package javax.ejb
TransactionAttributeType.valueOf ( String name ) [static] : TransactionAttributeType
[mangled: javax/ejb/TransactionAttributeType.valueOf:(Ljava/lang/String;)Ljavax/ejb/TransactionAttributeType;]
TransactionAttributeType.values ( ) [static] : TransactionAttributeType[ ]
[mangled: javax/ejb/TransactionAttributeType.values:()[Ljavax/ejb/TransactionAttributeType;]
ejb-3_0-api.jar, TransactionManagement.class
package javax.ejb
TransactionManagement.value ( ) [abstract] : TransactionManagementType
[mangled: javax/ejb/TransactionManagement.value:()Ljavax/ejb/TransactionManagementType;]
ejb-3_0-api.jar, TransactionManagementType.class
package javax.ejb
TransactionManagementType.valueOf ( String name ) [static] : TransactionManagementType
[mangled: javax/ejb/TransactionManagementType.valueOf:(Ljava/lang/String;)Ljavax/ejb/TransactionManagementType;]
TransactionManagementType.values ( ) [static] : TransactionManagementType[ ]
[mangled: javax/ejb/TransactionManagementType.values:()[Ljavax/ejb/TransactionManagementType;]
to the top
Problems with Data Types, High Severity (3)
ejb-2_1-api.jar
package javax.ejb
[+] EJBContext (1)
| Change | Effect |
---|
1 | Abstract method lookup ( String ) has been added to this interface. | Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method lookup(String) in EJBContext. |
[+] affected methods (11)
getCallerIdentity ( )This abstract method is from 'EJBContext' interface.
getCallerPrincipal ( )This abstract method is from 'EJBContext' interface.
getEJBHome ( )This abstract method is from 'EJBContext' interface.
getEJBLocalHome ( )This abstract method is from 'EJBContext' interface.
getEnvironment ( )This abstract method is from 'EJBContext' interface.
getRollbackOnly ( )This abstract method is from 'EJBContext' interface.
getTimerService ( )This abstract method is from 'EJBContext' interface.
getUserTransaction ( )This abstract method is from 'EJBContext' interface.
isCallerInRole ( String )This abstract method is from 'EJBContext' interface.
isCallerInRole ( Identity )This abstract method is from 'EJBContext' interface.
setRollbackOnly ( )This abstract method is from 'EJBContext' interface.
...
[+] SessionContext (2)
| Change | Effect |
---|
1 | Abstract method getBusinessObject ( Class ) has been added to this interface. | Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method getBusinessObject(Class) in SessionContext. |
2 | Abstract method getInvokedBusinessInterface ( ) has been added to this interface. | Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method getInvokedBusinessInterface() in SessionContext. |
[+] affected methods (4)
setSessionContext ( SessionContext )1st parameter 'p1' of this abstract method has type 'SessionContext'.
getEJBLocalObject ( )This abstract method is from 'SessionContext' interface.
getEJBObject ( )This abstract method is from 'SessionContext' interface.
getMessageContext ( )This abstract method is from 'SessionContext' interface.
to the top
Java ARchives (1)
ejb-2_1-api.jar
to the top