« Return to Thread: still about how to generate BPEL process without GUI designer
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 JasonDear all, I just checked the source code of BPEL, I found that the BPEL model seems tightly coupled withNBGUI. 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 withtheNB 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 cangeneratethis 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 dothis. Ithink 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 BPELprocess asthe 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
| Free Forum Powered by Nabble | Forum Help |