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

Re: still about how to generate BPEL process without GUI designer

by sam wang-2 :: Rate this Message:

Reply to Author | View in Thread

Hi Jason,

Thank you for the reply. Since there are existing codes for generating BPEL, I prefer not to
reinvent the wheel :-)

Eclipse BPEL also provides an open source BPEL model, which is more clear and simple than
NetBeans'. However, since I want to use NetBeans execution engine to run the BPEL process, I'd
better use NetBeans' BPEL model to generate BPEL file to make sure the compatibility.

Anyway, I really don't think there is no way to re-use NetBeans BPEL model to generate BPEL file
without GUI.

Any hint will be greatly appreciated!
Sam




--- Jason Baragry <Jason.Baragry@...> wrote:

> Hi Sam,
>
> BPEL is just an XML document. Why can't you just use XML apis to
> programmatically create the BPEL XML document and then import it into
> netbeans?
>
> regards
> Jason
>
> > 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
> >  
>
>



      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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

LightInTheBox - Buy quality products at wholesale price