Transform a xml into java object using mule 4.3 kernal (CE) - transform

We can transform a xml payload into java object by mapping elements using Transform Message component in Mule 4.3 EE.
Can we transform a xml into java object using mule 4.3 kernal (CE) instead of using EE ?

The actual XML element in the flow for Transform Message is <ee:transform>. The ee namespace indicates it is an Enterprise Edition (EE) feature. So the answer would be that you can not use Transform Message in Mule Kernel, also known as Mule Community Edition (CE).

Related

Pass mule message into a java component in Mule 4.3 CE

Is there a way to pass mule message/ event context into a java class in Mule 4.3 CE, as using Callable interface in Mule 3.8?
No, and it would be a bad practice to try to do it in Mule 4 to do something like that. See https://docs.mulesoft.com/mule-sdk/1.1/general-coding-rules#never-access-flow-variables for more details.

use couchbase-lite 2.5 with javafx application

I developed my javafx application using couchbase-lite 1.3 and it works as expected.
But now, i want to use the N1QL query to retrieve the data from this database.
This is not possible with 1.3 version.
on https://docs.couchbase.com/couchbase-lite/2.0/index.html i can see that it possible with version 2.5 but i do not see the binaries jar for javafx.
Do someone knows how to add 2.5 binaries to the javafx project?
thanks
Couchbase-lite 2.x supports the Java language only on Android. We are considering pure Java support for a future release.

What is equivalent API of org.jfxtras.util.BrowserUtil in javafx 2.1?

I convert code from javafx 1.3 to javafx 2.1. This API is in javafx 1.3, But i don't know equivalent API in javafx 2.1.
HostServices.showDocument() will open a url in a browser window (similar to what the jfxtras BrowserUtil did).

Oracle ADF Faces application on Websphere 7.0

Can someone please help me out with the Oracle ADF faces application which I'm trying to deploy on Websphere 7.0? Do I need to apply any fixpacks on WAS? I'm trying to migrate this project from Websphere 6.1 to Websphere 7.0.
In Websphere 6.1, after removing jsf implementation jar files and providing them as part of WEB-INF\lib and changing the classloader to PARENT_LAST, the application was working fine.
For websphere 7.0, I can't seem to get the application working. It always picks up the Sun's JSF implementation. I've also tried the shared library concept but to no success.
Regards,
Zahir
The Oracle documentation lists a certification for WAS 7.0.0.13 ND. So you need FixPack 13 or later.
As the WebSphere Application Server 7 is a full blown JEE5 server it requires/has JSF 1.2 support. You can switch between the built in Sun and MyFaces implementation if required.
You should probably make sure that the ADF version you are using is certified for WAS 7. The ADF release notes tell that ADF supports JSF 2.0. The WAS 7 only comes with JSF 1.2. Exchanging the JSF version with placing the JSF 2 libs into WEB-INF/lib works well for our projects in conjunction with the 'PARENT_LAST' classloading policy. Make sure that you set the policy either for the whole application or for both the application and the web module.
ADF Faces is a Java based framework and it will run on WebSphere but, you have to add the required libraries first. The easiest way to prepare WebSphere to run ADF Faces application is through JDeveloper. Alternatively, you can google Oracle JRF (Java Runtime Framework) and install that on your WebSphere, before running the ADF Faces application.

Jaxb system path

I just installed java Web Service Developer Pack 2.0 to use JAXB for xml operations. The tutorial says me add "C:\Sun\jwsdp-2.0\jaxb\bin" to the system path.I select Computer->Properties->Advanced System Settings. I come to the Advanced tab I open the window Environment variables. and i selected PATH from user variables,selected edit and append "C:\Sun\jwsdp-2.0\jaxb\bin" to here. But when i write xjc,it is still not recognized. What should i do more ?
I just checked the release notes for JWSDP 2.0, and they're copy right 2005.
http://java.sun.com/webservices/docs/2.0/ReleaseNotes.html
If you're just looking to run XJC it is also included as part of Java SE 6. You can run it as:
C:\Program Files\Java\jdk1.6.0_20\bin\xjc
As for JAXB implementations you can choose from:
EclipseLink JAXB (MOXY)
Metro JAXB (the reference implementation, included in JAVA SE 6.

Resources