vaibhav srivastavas

Greenhorn
+ Follow
since Aug 15, 2013
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by vaibhav srivastavas

Hi Beth,

JSF ViewScoped is used for ajax calls. Bean object will remain in scope as long as ajax call will be made within the context of a single page.
You can use any one of the following 2 approaches as per your requirement:

1) Use ajax call to update your page.
or,
2) Use Conversation Scope. (In case of Conversation Scope, bean object will remain in scope as long as conversation is active.You can begin and end the conversation as per your need.)
6 years ago
JSF
Hi,

Sorry for the late reply.
I hope following example will be helpful:

<?xml version="1.0" encoding="UTF-8"?>

<mule xmlns:http="http://www.mulesoft.org/schema/mule/http";
xmlns:cxf="http://www.mulesoft.org/schema/mule/cxf"; xmlns="http://www.mulesoft.org/schema/mule/core";
xmlns:doc="http://www.mulesoft.org/schema/mule/documentation";
xmlns:spring="http://www.springframework.org/schema/beans"; version="CE-3.3.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/cxf http://www.mulesoft.org/schema/mule/cxf/current/mule-cxf.xsd ">

<flow name="ESBFlow" doc:name="ESBFlow">

<!-- ESB WSDL Interface -->
<http:inbound-endpoint
address="{HTTP endpoint url}"
exchange-pattern="request-response" doc:name="HTTP">
<cxf:jaxws-service serviceClass="{ESB WebService Interface}" />
</http:inbound-endpoint>

<!-- Internal Operations -->

<!-- Service Integration-->
<http:outbound-endpoint
address="{Siloed System Web Service address}"
doc:name="Siloed System Web Service endpoint">
<cxf:jaxws-client
clientClass="{Siloed System Web Service implementation class}"
port="{Siloed System Web Service port}"
wsdlLocation="{Siloed System Web Service wsdl location}"
doc:name="Siloed System Web Service client" />
</http:outbound-endpoint>

</flow>

</mule>




6 years ago
Hi,

You can use ESB layer as an interface between your siloed system and java code. A http endpoint integrated with CXF can be exposed to java code while internally you can interact with your siloed system using an appropriate connector. Integration with CXF will help object level interaction with ESB (preferred approach rather than using vm endpoint which will results in memory overloading).
6 years ago
Hi,

Please provide a more precise scenario as per your requirements. Basically the whole ESB concept pins down to Flow management. Depending upon your needs a proper set of endpoints, filters, connectors etc can be thought of.
6 years ago