Embedding OSGi on Weblogic Server 10.3.3 - osgi

I am new to OSGi, and trying to configure Equinox/Felix on Weblogic Server. But nowhere can I find any information of any OSGi container embedded in Weblogic Server. So my questions are-
1. Has anyone configured Equinox or Felix with Weblogic Server? Is it supported?
2. SpringDM supports tomcat and jetty, does it support Weblogic too?
3. Can I deploy a Spring MVC application as a bundle without using SpringDM? OSGi container could be Felix/Equinox; and app server is Weblogic 10.3.3
Appreciate any help/samples/references to understand OSGi support in Weblogic.
Thanks in advance
-dee

please have a look to this question I've raised several months ago: WebLogic and OSGi. I also updated the question. Since version 12.1.2, Weblogic supports OSGi out of the box.

Related

Deploy Apache Camel on(with or without spring boot) on wildfly server

We have use case where we need to develop integration on Apache camel.
However, from deployment point of view we have Wildly server where so far we have deployed varous Java spring boot Microservices.
Also, wehave another environment where these Java spring boot service are deployed on Openshift inside JBoss EAP conatiner.
Now, quuestion is how can I deploy apache camel routes/jar in similar way on Wild fly or Joss.
Few options , I can think of but not sure hows it possible.Need technical guidance.
Options
1. Create camel jar and deploy on Widlfly- I dont know how it works.
2. Create apache camel integration using spring boot . As per documentation ,it will work . my question in how it will be deployed on widlfly or open shift.
Also, can I use spring DSL in that?

Spring boot and Tomcat : Is it better to use embeded Tomcat or external Tomcat installation.

I was wondering if some experienced spring boot users can tell us how to choose between embedded Tomcat and external Tomcat installation.
Thanks in advance.
Embedded Tomcat helps you to define Standalone application. Earlier we have to deploy war to Tomcat Server which itself a tedious task. From the embedded tomcat you can run application as service without worrying about the deployment thing. As now days microservices are being popular, spring boot is more popular because of its feature one of them is embedded servers like Tomcat,Jetty or Netty.

Can I deploy a spring-boot 2.0 WAR on a Tomcat 8.0.x?

spring-boot 2.0 has been available for a week now. The blog posts mention that there's now a Tomcat 8.5 baseline for embedded tomcat.
Does that also mean I need to have a Tomcat 8.5 if I use WAR deployment of my spring-boot 2.0 application, or would a Tomcat 8.0.x still work?
The official Spring Boot 2.0.0 documentation points to Tomcat 8.5 as the baseline version for embedded servers.
Spring Framework 5.0 itself requires Servlet 3.1+ containers and Tomcat 8.5+ for both embedded and war deployments.
Although deploying Spring MVC applications to a Tomcat 8.0.x server might still work, it won't be officially supported by Spring Framework nor Spring Boot.

OSGI JAX-WS Client On WebSphere Application Server

I am trying to implement an OSGI based JAX-WS WebService client on WebSphere Application Server(8.5.5). I created a web project in my RAD (Rational Application Developer) workbench and added the programming model as osgi.
After that I tried to create the webservice client from the available wsdl.
But I am getting the following error " The IBM WebSphere JAX-WS Web service runtime does not support Client projects with the OSGi Bundle facet."
Are you using JAX-WS on WebSphere Application Server traditional (i.e. not the Liberty Profile)? If so, then traditional does not support JAX-WS in OSGi Applications. The Liberty profile does support JAX-WS.
If not, then this could be a tools check that's no longer valid. I know the tools used to prevent you doing this when JAX-WS was not supported on traditional or Liberty. You could try using the latest WebSphere Developer tools from the Ecilpse Marketplace or https://wasdev.net/repo to create a simple test project to see if you hit the same problem.
I hope this helps.
Regards, Graham.

Breakpoint does not work in a websocket deployed in Wildfly 8.x

I am having a problem deploying my spring websocket service in a Wildfly 8.x server.
I have two Java services running in the wildfly server, one of them is working great but the other one (the websocket one), despite is deployed correctly does not stop in the breakpoints. In fact, when I set the breakpoint it seems as if the server was off.
The deployment folder of my wildfly server created the two directories, one of each services.
I am using jdk 1.8 and Maven 3.2.3.
Thanks in advance for any help!

Resources