Is there a way to use WebSockets on IBM WebSphere Application Server? - java

I am migrating a web application based on Apache Tomcat 7.0.35 using the WebSocket Servlets to IBM WebSphere Application Server (WAS). The problem is that I don't think WAS supports WebSockets.

You can try the WebSphere Liberty 8.5.5.4 -- this supports WebSockets. See announcement here.
See also:
Liberty profile: Web Sockets

WAS doesn't support WebSockets as stated on an IBM forum here. What you can do is to investigate if you can deploy in WAS one of the WebSockets server implementations (check this list).

You can also try embedding the Jetty Web Server on the java application to run on your WebSphere Application Server - http://www.eclipse.org/jetty/documentation/current/embedding-jetty.html. Another option is to make use of a WebSockets implementation (e.g. Wabbit), or make use of an Application Server that supports the Java EE 7 specs, like IBM WAS 9.

Related

Tomcat + CxF ready for Production?

Our new project has Apache CXF based Producer SOAP web services.Now we are planning to move the Web Services to production.We are looking for a suitable Open Source container(Web Server or App Server) for deploying CXF Based Java Web Service.First option came to mind was Tomcat 7 .Just needed expert advice on
1. Whether combination of CXF and Tomcat based WebServices are currently used in production for other projects ?And is this solution scalable & Reliable ?
2. Are there other options to deploy CXF based webServices other than Tomcat in production ?
Thanks!
1 . Whether combination of CXF and Tomcat based WebServices are currently used in production for other projects ? And is this solution scalable & Reliable
It shouldn't give you any issue since it is compatible with a wide variety of application server. We are using Tomcat7 and Tomcat6 to deploy our CXF web services and they are in production for quite some time now without any issue.
2 . Are there other options to deploy CXF based webServices other than Tomcat in production ?
There are multiple options to deploy cxf based web-services
From the docs
Lightweight containers: deploy services in Jetty, Tomcat or Spring-based containers
JBI integration: deploy as a service engine in a JBI container such as ServiceMix, OpenESB or Petals
Java EE integration: deploy services in Java EE application servers such as Apache Geronimo, JOnAS, Redhat JBoss, OC4J, Oracle WebLogic,
and IBM WebSphere
Standalone Java client/server

Spring application deployment on Java-ee servers

Can I deploy a Spring java application on all (or at least most) of JavaEE servers ? like Weblogic, JBoss, Webshpere, Tomcat, Jettty etc.
And is there is preferred Java EE server for Spring ?
Yes you can. And no - there isnĀ“t. Errata: you can take a look at the SpringSource dm Server. Be aware that spring is not a java EE implementation. Read this post here.
Yes, you can deploy it on any server, and you can use it on standalone applications and even on mobile applications. It is in no way restricted to web deployment. It is not even restricted to java, there is Spring.NET and even a Python version. However, java and web servers are a common if not the most common use for it.
Currently recommended web server by VMWare/Pivotal (current owner of Spring) is VFabric tcServer, which is a Tomcat fork containing some extra tools and functionality. But server in itself does not matter, Spring is container agnostic.
There is no preferred EE server. VFabric tcServer is a servlet container, not an EE server. It contains "enterprise capabilities" instead, but that's not the same thing. As said however, you can use whichever EE server you want.

JBoss 7: EJB over HTTP

Hi I'm porting our EJB Server/Client application from JBoss 5.2 to JBoss 7.
Currently the EJB's on the Server are invoked over an HTTP Invoker on the server. (also includeing JNDI...)
I have read that the guys at JBoss have developed a new HTTP Server for WildFly where it should work like cham, but I haven found a way to do this under JBoss 7 (EAP 6.1)
Greetings
Florian
It is not possible in any official releases of as7 or EAP6
There was an experimental build that had limited support, but probably best avoided. Message me directly if you still want to try it for non production use

Migrate messaging security from Glassfish to JBoss 7

I am new to JBoss 7. I have already done Messaging Security in Glassfish for my web application. I would like to move my application to JBoss 7.
Could anyone guide me to achieve Messaging security in JBoss 7?
JBoss 7 uses HornetQ as a message broker, so you need to look at its documentation. JBoss 7 has a very nice GUI console that enables to do quite a lot of administration tasks (but CLI interface gives access to more config options).
For a short introduction how to configure messaging on JBoss 7 with basic security setting see this article: http://www.techartifact.com/blogs/2012/10/jboss-as-7-setting-up-hornetq-jms.html.
If you need custom authentication/authorization, you need to create your custom security application realm: https://docs.jboss.org/author/display/AS71/Security+Realms

Can Java EE web applications be hosted on IIS

Can we host a Java EE web application on IIS 5.1 server on windows XP?
You can forward your requests from IIS to another local tomcat or other java application server.
You can install your Application Server into the same machine as the IIS server. Then use AJP to connect IIS to your Java APPServer.
But I don't think you will be able to run Java Applications directly from IIS only.
AFAIK Java EE cannot be hosted in IIS. To host Java EE Application you need at least Servlet container or a full Java EE container which is not supported by IIS. Although, some plugin might be able to do so.
As for your reference, below link is Java EE compatibility by oracle:
http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html
IIS can never Java web-applications directly. But with a plugin we can do it..
You can refer this page.
Absolutely you can. If you need further info you'll have to provide more info about the type of Java application you wish to use, and the version of IIS.

Categories