« Return to Thread: still about how to generate BPEL process without GUI designer

still about how to generate BPEL process without GUI designer

by sam wang-2 :: Rate this Message:

Reply to Author | View in Thread

Dear all,

I just checked the source code of BPEL, I found that the BPEL model seems tightly coupled with NB
GUI. For example, first I want to generate a blank BPEL process through:
org.netbeans.modules.bpel.model.impl.BpelModelFactoryImpl

However, I need to get "org.netbeans.modules.xml.xam.ModelSource", which tightly coupled with the
NB GUI through "org.openide.util.Lookup". I don't know how to instantiate "Lookup".

Another potential approach seems through
"org.netbeans.modules.bpel.project.BpelproProjectGenerator". However, it only creates an empty
"EjbProject". I have two questions about "EjbProject". First, if it can be treated as a "BPEL"
project. Second, if it can be treated as a "BPEL" project, how can I create a very simple
"synchronizing BPEL example", just like the example provided by NB SOA. Or simpler, I can generate
this simple BPEL project through NB GUI first, and then trying to load this project into some
class in order to retrieve the BPEL process with the resources. But I don't know how to do this. I
think once I get the BPEL instance, I can manipulate it through all the classes in the package
"org.netbeans.modules.bpel.model.impl".

In a word, my requirement is very simple. First, I want to generate a quite simple BPEL process as
the template (just like the synchronizing BPEL example provided by NB SOA example), then
manipulating this BPEL process through NB's BPEL model (for example, adding activities such as
"receive", "reply", "invoke","assign", etc.)

Since this is part of my Ph.D research and I am in huge pressure to graduate, any quick
hint/suggestion will be greatly appreciated!!

Sam


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page.
http://www.yahoo.com/r/hs

 « Return to Thread: still about how to generate BPEL process without GUI designer

LightInTheBox - Buy quality products at wholesale price