EJB3 or Spring+Hibennate? JBOSS, Weblogic or Websphere? Oracle or MySQL?

Dear all,
I know this is a question without real answer. However, today, January 2009, if I would build a idea JEE application from scratch, should I choose
EJB3 or Spring+Hibennate?
By the way, I would also ask two other questions. Should I choose Oracle or MySQL? Should I choose Tomcat, JBOSS, Weblogic or Websphere?
I assume that I don't have budget constraint but I really want to have the "best" updated one.
Thanks for any argument.
Pengyou

Dear all,
I know this is a question without real answer. However, today, January 2009, if I would build a idea JEE application from scratch, should I choose
EJB3 or Spring+Hibennate?
By the way, I would also ask two other questions. Should I choose Oracle or MySQL? Should I choose Tomcat, JBOSS, Weblogic or Websphere?
I assume that I don't have budget constraint but I really want to have the "best" updated one.
Thanks for any argument.
Pengyou

Similar Messages

  • EJB communication between weblogic and websphere

    Hello:
    I have weblogic 7.1 instance running in machine A and websphere running in machine B. I want to make a call to the ejb deployed from weblogic to websphere. Any experience in this would be very helpful. Or pl. post the procedure.
    Thx in advance.

    I don't think that there is any magic here, although I've never tried it.
    All you need is the compiled EJBHome and EJBObject interfaces in the
    classpath of the calling EJB, get an InitialContext in the JNDI namespace of
    the target EJB container using the name of the JNDI InitialContext Factory,
    do a lookup on the bean making sure to do a PortableRemoteObject.narrow when
    you are casting the Home stub with the vendor specific version of
    PortableRemoteObject(and that may be the real trick), call the appropriate
    create method, and you are rolling.
    I guess the question becomes how to make sure that when you are calling
    PortableRemoteObject.narrow on the Home stub, that you get the vendor
    specific version for the EJB container and JNDI namespace from which you are
    doing the lookup.
    I guess the answer is, I'm guessing. Have you tried it?
    bill
    "nebs om" <[email protected]> wrote in message
    news:30035468.1103738722864.JavaMail.root@jserv5...
    Hello:
    I have weblogic 7.1 instance running in machine A and websphere runningin machine B. I want to make a call to the ejb deployed from weblogic to
    websphere. Any experience in this would be very helpful. Or pl. post the
    procedure.
    >
    Thx in advance.

  • Override Spring jar in Weblogic 12c

    Hi Folks,
    We have been facing an issue while overriding the Spring jar in Weblogic 12c. Basically we need to write a bean based on some 3rd party API calling their interfaces. Now they use Spring 2.5 jar for their own implementation. Since Weblogic inherently supports Spring 3.0 jar. As a result when we write our bean wrapping their interfaces and deploy it, it doesn't work. We replicated the issue by replacing Spring 2.5 jar with Spring 3 in local environment.
    If we modify the server classpath to load the Spring 2.5 jar (preceding Spring 3.0), entire soa-infra application goes down, so what We wanted to know if it is possible to override the Spring jar only for our application itself? While loading the application it will override the Spring 3.0 jar with Spring 2.5 in the application context but server will keep using Spring 3.0?
    Any ideas/suggestions highly appreciated!
    Thanks,
    Bhaskar

    Hi Bhaskar,
    have you tried packing the Spring libraries in your application and using the Filterring Classloader? Maybe this links can help you :
    Understanding WebLogic Server Application Classloading
    http://docs.oracle.com/cd/E24329_01/web.1211/e21049/weblogic_xml.htm#WBAPP601
    http://stackoverflow.com/questions/11476874/weblogic-10-3-5-overriding-spring-version
    best regards, Nicolas

  • Spring MVC on weblogic

    Hii Frnds
    I have earlier developed struts application in weblogic 8.
    Now i intend to develop a application on Spring MVC framework, and i want to use Weblogic as my application server.
    But i am not getting any good examples to get started with.
    Can any one provide me with a link to get started.
    Can i use Weblogic 8 with springs ?

    vaneet sharma wrote:
    Hii Frnds
    I have earlier developed struts application in weblogic 8.Are you using BEA Workshop?
    Now i intend to develop a application on Spring MVC framework, and i want to use Weblogic as my application server.
    But i am not getting any good examples to get started with.
    Can any one provide me with a link to get started.Try the examples listed in the Spring download for WebLogic.
    http://commerce.bea.com/showproduct.jsp?family=SPRING&major=1.2.5&minor=0
    >
    Can i use Weblogic 8 with springs ?Generically, yes. Our download only works with 9.x.
    br

  • Spring-WS with Weblogic 9.2 - HTTP 404 Error

    Have deployed our Spring-WS on Weblogic 9.2 on Windows environment. The spring-ws jars have been copied to server lib directory. The the app. is deployed at the webcontext caobshared. There were no issues while deploying. Am testing the service from a soapUI tool. The url I am using is http://localhost:7002/caobshared/services. I do not see any errors or any debug statements I have in the webservice methods in the server log. Believe I am missing something or specifying incorrectly.
    We need to make a decision on using Spring-WS soon, based on the POC I working on. Any help or suggestions highly appreciated.
    web.xml file:
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <display-name>CAOB Shared Service</display-name>
    <!-- take especial notice of the name of this servlet -->
    <servlet>
    <servlet-name>caob-shared</servlet-name>
    <servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
    <init-param>
    <param-name>transformWsdlLocations</param-name>
    <param-value>true</param-value>
    </init-param>
    </servlet>
         <servlet-mapping>
    <servlet-name>caob-shared</servlet-name>
    <url-pattern>/services</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>caob-shared</servlet-name>
    <url-pattern>*.wsdl</url-pattern>
    </servlet-mapping>
    </web-app>
    caob-shared-servlet.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:util="http://www.springframework.org/schema/util"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
    http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
    <!-- ===================== ENDPOINTS ===================================== -->
    <!--
    The marshallingEndpoint handle the messages.
    -->
         <bean id="documentationService" class="com.boea.caob.ws.documentation.DocumentationService"/>
    <bean id="documentationServiceEndpoint" class="com.boea.caob.ws.DocumentationServiceEndpoint">
    <description>
    This endpoint handles the DocumentService Web Service messages using JAXB2 marshalling.
    </description>
    <constructor-arg ref="documentationService"/>
    </bean>
    <bean id="marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
    <description>
    The JAXB 2 Marshaller is used by the endpoints.
    </description>
    <property name="contextPath" value="com.boea.jaxb.caob.documentation.ws.jaxb"/>
    </bean>
    <!-- ===================== ENDPOINT MAPPINGS ============================== -->
    <!-- ===================== ENDPOINT ADAPTERS ============================== -->
    <!--
    Endpoint adapters adapt from the incoming message to a specific object or method signature. Because this
    example application uses three different endpoint programming models, we have to define three adapters. This
    is done for illustration purposes only, typically you would use one adapter, for instance the
    MarshallingMethodEndpointAdapter.
    -->
    <bean class="org.springframework.ws.server.endpoint.adapter.MarshallingMethodEndpointAdapter">
    <description>
    This adapter allows for methods that need and returns marshalled objects. The MarshallingEndpoint
    uses JAXB 2 objects.
    </description>
    <constructor-arg ref="marshaller"/>
    </bean>
    <!-- ===================== WSDL DEFINITION ============================== -->
    <!-- Exposing a static WSDL -->
    <!--
         <bean id="documentService" class="org.springframework.ws.wsdl.wsdl11.SimpleWsdl11Definition">
         <constructor-arg value="/xsd/DocumentService.wsdl"/>
         </bean>
         -->
         <!-- Dynamically creating a WSDL from an XSD -->
    <bean id="documentService" class="org.springframework.ws.wsdl.wsdl11.DynamicWsdl11Definition">
    <description>
    Dynamically builds a WSDL from the DocumentService.xsd.This bean definition represents the DocumentService.wsdl file found
    in the root of the web application. It is used
    by the WsdlDefinitionHandlerAdapter in caob-shared-servlet.xml.
    </description>
    <property name="builder">
    <bean class="org.springframework.ws.wsdl.wsdl11.builder.XsdBasedSoap11Wsdl4jDefinitionBuilder">
    <property name="schema" value="/xsd/DocumentService.xsd"/>
    <property name="portTypeName" value="DocumentationPort"/>
    <property name="locationUri" value="http://localhost:8080/documentation/services"/>
    <property name="targetNamespace"
    value="http://www.test.com/caob/webservices/documentation/definitions"/>
    </bean>
    </property>
    </bean>
    </beans>
    Thanks
    Sunil

    Did you see this: https://www120.livemeeting.com/cc/bea/view?id=BEA092006cc&pw=ATTBEA&cn=
    not sure but this may be helpful

  • How to build and deploy EJB3.0 jar on JBoss Server

    Hi:
    I want to create web service using EJB3.0.
    For that first i have created EJB project,in that i add following code:
    package com.ejb;
    import javax.ejb.Stateless;
    import javax.jws.WebService;
    @Stateless
    @WebService
    public class TemperatureConverter {
         public double celsiusToFarenheit(double temp){
              return ((temp*1.8) + 32);
         public double farenheitToCelsius(double temp){
              return ((temp-32)/1.8);
    }Now i want to build and deploy the jar on server.
    How can i do this?
    Thank You.

    Hi AnupDesai,
    I suggest you to have a read of the [*JBoss EJB3 Documentation*|http://www.jboss.org/ejb3/docs].

  • Runtime Datasource from Jboss/Weblogic

    I have a application running JBoss, which we uses the datasource in the deploy folder.
    I have the report viewer working it is using the datasource from within the report file itself. At runtime, i would like to change the datasource in the report to use the datasource from Jboss, or pass a open connection. My only want to have one connection pool managed by the applicaiton server(Jboss/Weblogic).
    Thanks. Please let me know if it is unclear.

    I understand that I don't have the ability to pass in a connection. However, it is possible to use  the Jboss/Weblogic datasource in the deploy folder. If so, could you point in the right direction. So I could share the database connection pool.
    I have tried to use the setting JNDI string in the propertyBag for the connectionInfo. However, I am unable to get it to work.
    Thanks in advance for your time.

  • Weblogic vs Websphere

    I know that this has been asked a few times but I couldn't find any recent comparisons.
    So - my company is going to adopt a J2EE platform and wants to buy an appserver. We've narrowed it down to Weblogic 8.1 or Websphere 5.2
    I know that early versions of Websphere got slated - but can anyone advise on how improved 5.1 is
    Also we are mixed ability team with some newbies to Java. We want to adopt a uniform IDE.
    Any comments on WSAD versus Weblogic Workshop. Are people using othe IDEs alongside either Websphere Server or Weblogic Server
    I like the look of Workshop - but it clearly isn't as big as WSAD - and also Weblogic have introduced the concept of Java Controls which definitely isn't standards based. However our team leader thinks that this could be an easy entry point for less experienced Developers. Any comments on any of these products much appreciated

    Hi,
    I was looking for a comparison against the latest versions of Weblogic and websphere. I was looking at the string of posts and came to a conclusion that you were in the same situation months before and you have nailed your choice as weblogic. Could you please give me some information regarding that?
    Basically am preparing a presentation with performance, scalability, features, ease of development, IDE effeciency, Integration abilities, Webservices capabilities, licensing cost and so on.

  • Weblogic and websphere colocated?

    Has anyone ever had any experience running weblogic and websphere on the same machine? If so, what were your issues?
    Thanks in advance.

    Web sphere has a wide robust features which weblogic lacks some. Like the load balancing and admin console, clustering .
    In Weblogic In many cases, code for applications deployed on WebLogic Server is arbitrarily structured and depends on the build process to make sense of it all. The implication of this is that existing code organization will very likely have to be changed as part of the migration effort. This may be very difficult (or even impossible) to accomplish while maintaining links to your code's history. Some organizations choose simply to archive their history and start fresh.
    In WebSphere, Packaged with each module is an XML deployment descriptor that describes the organization of the components in the module and how they are configured at run time. hence applications can be migrated easily.

  • Basic Spring Interaction with WebLogic Portal

    Can you please post the article "Basic Spring Interaction with WebLogic Portal" by Article by Mark Meyer and Don Davis. Actually it was posted in http://dev2dev.bea.com/pub/a/2006/09/weblogic-portal-spring.html but after the BEA's acquisition by ORACLE, this link was not active. Can some one please assist regarding the same ?

    The archived dev2dev articles are suppose to be available at:
    http://www.oracle.com/technology/pub/articles/dev2arch/index.html
    But in a brief review of this site, I did not see this exact title. Maybe someone else knows where that one is.
    There are many other spring related articles there you may find helpful as well.

  • Weblogic and Websphere communication!!

    Hi Friends,
    I have an EJB HelloWorld deployed on both servers(Weblogic and Websphere) and these beens are accessible easily from their respective client servlets, which is the easy part.
    Now what I want to try is access the bean's methods on Weblogic server from a bean on Websphere server and vice versa. This is where I want some ideas from the gurus please.
    e.g. hello() method of the EJB (HelloWeblogic) in Weblogic server prints the message "Hello from Weblogic" and the hello() method of the EJB (HelloWebsphere) in Websphere server prints the message "Hello from Websphere". Now I want to know what do I need to do so that I am able to execute hello() of the HelloWeblogic EJB, from HelloWebsphere EJB and vice versa.
    I am also new to EJB, but I think I am making my way slowly.
    Any help/ideas/code samples would be really appreciated.
    Please feel free to ask any questions.
    Regards
    Rajeev

    As far as I can see the standard way would be to lookup
    the ejbs-home in the others JNDI context. After that proceed
    as you are used to.
    Troubles (or some unlikely behaviours) could occur if your beans are
    served by the same interfaces.
    But Dynamic Stub loading via RMI should prevent you from any problems with non existing stub/skels, etc.
    You could only run into problems when stub/skel-implementation-classes where named equally (by full qualifier) in both app-servers. This should never happen. (weblogic.SomeWLStubClass != ...websphere...SomeStubClass)
    Read RMI-Specification for further details on dynamic class-loading in
    the RMI process:
    http://java.sun.com/products/jdk/1.1/docs/guide/rmi/spec/rmi-arch.doc.html
    or j2ee-tutorial on how to resolve JNDI-Contexts.
    Hope it helps!
    Alexander Sack

  • Weblogic and websphere

    hi
    could anybody tell what is the basic difference between weblogic and websphere.
    thanks
    suru

    Web sphere has a wide robust features which weblogic lacks some. Like the load balancing and admin console, clustering .
    In Weblogic In many cases, code for applications deployed on WebLogic Server is arbitrarily structured and depends on the build process to make sense of it all. The implication of this is that existing code organization will very likely have to be changed as part of the migration effort. This may be very difficult (or even impossible) to accomplish while maintaining links to your code's history. Some organizations choose simply to archive their history and start fresh.
    In WebSphere, Packaged with each module is an XML deployment descriptor that describes the organization of the components in the module and how they are configured at run time. hence applications can be migrated easily.

  • J2EE replaces BEA Weblogic, IBM WebSphere, Orion or JRun

    BEA Weblogic, IBM WebSphere absolutely provide stronger ability to support enterprise applications.
    I want to know whether J2EE can be used in deploying a commercial web site with multi-tier architecture. For example, to handle hundreds concurrent requests, to balance work load to some extent.
    Thanks.

    J2EE is a platform specification. And WebLogic, WebSphere, JRun etc. are vendor specific products that implement APIs from that platform standard.
    It seems you are talking about the refrence implementation of J2EE that comes with J2EE SDK.
    See http://java.sun.com/j2ee/faq.html Especially the answers therein to the two questions...
    1. What is the purpose of the Reference Implementation?
    2. Why don't you allow the binary Reference Implementation to be deployed or redistributed?

  • Install GWT, Spring, Hibernate, JBOSS

    I am new to Java.
    I am going to create a web application using Java, I was told I have to install GWT, Spring, Hibernate, JBOSS, JDK 6 and mySQL.
    I already install mySQL and JDK 6. Do I need to install Eclipse also?
    what's the pupose to install GWT, Spring, Hibernate, JBOSS? what's the relationship of them? is there any order to install them?
    Thanks very much.
    Andraw

    Andraw wrote:
    I just join a new company, they already create a project using all these tools, I just need to install these software in my computer, and run their project to get familiar with them slowly.And you told them that you have not done any Java in 7 years and don't have clue about any of those technologies?
    Then they should be prepared to provide some help with your start.
    Don't say no to me, I want to give it a try.Ok, I won't say no. I will still say you'll have a hard time. Be ready to learn a lot.

  • Connection Weblogic and Websphere MQ

    Can anybody help me how to connect Weblogic and Websphere MQ?

    If you are using the foreign JMS server then create the binding file for MQ. The binding file would contain host and port and other required details.
    Weblogic could understand the configuration details in that.

Maybe you are looking for

  • Having issue with variable after upgrade in bi7.0

    Hi, I have issue with variable For example Plant info object has attributes country, company code, storage location etc. When I run the report. If I click on plant variable it is showing me the all the data for all country , compony code , storage lo

  • I have a virus onv my iPhone 3gs I can't go on the internet

    I have a virus on my iPhone 3gs and I can't get rid of it. My friends went on a XXX site as a joke and now I can't even go on the internet when I type something in it comes up with BT FON virus and I can't get off it. I have tried turning my phone on

  • Ora-31655 using dbms_datapump

    i am using dbms_datapump to make a logical backup. it works fine, when i use just to schema mode. when i try to execute using table mode, it raised a error 31655 "no data or metadata objetcs selected for job". in both cases, i am connected by SYS. it

  • Mac air screen not displaying correctly

    I have a Mac Air 13' screen. Recently I was using it and someone put a lemon head on the keyboard and slammed the screen down on it for no reason. The screen is now displaying a grey screen with a white vertical line down the middle. When I turn the

  • Display Chinese in JEditorPane

    Hi, I've a problem in displaying Chinese characters in Applet using JEditorPane. The java codes like this: JEditorPane editorPane = new JEditorPane(); editorPane.setEditable(false); editorPane.setContentType("text/html; charset=big5"); try { URL file