a, call the workflow engine method:
Context ctx = new InitialContext (); Object obj = ctx.lookup ( "WeblogicEngineSessionHomeRemote"); WeblogicEngineSessionHome home = null; home = (WeblogicEngineSessionHome) PortableRemoteObject.narrow (obj, WeblogicEngineSessionHome.class); WeblogicEngineSession ss = home.create (); Java.util.map Map = ss.getServiceList (username);
B, MAP usage
Map map = new hashMap (); servicebean sbn = new servicebean ("11", "test", null); sbn.setdescs ("Test List"); map.put (New String ("101"), SBN); Collection st = map.values (); iterator itor = st.iterator (); regard (item.hasnext ()) {serviceBean bean = (servicebean) ITOR.NEXT (); step.out.println (bean.getdescs () }
Set set = map.Entryset (); item (); while (it.hasnext ()) {map.entry me = (map.entry) it.next (); system.out.println (( String) Me.GetKey ()); servicebean svbn = (servicebean) me.getValue (); system.out.println (svbn.getdescs ());}
1, page jump problem with nested frame
Solution: Test
(BB: The name of the outermost frame; main: one layer frame name)