idempiere OSGI startup sequence

208 views
Skip to first unread message

johnbendi

unread,
Nov 30, 2014, 2:33:27 AM11/30/14
to idem...@googlegroups.com
Please I have spent a lot time debugging the startup sequence of idempiere OSGi using the eclipse IDE which is not my preferred IDE in any way. Also I believe this does not follow the DRY principle in any way and does not show a proper transfer of knowledge to the younger generation. Since Idempiere is open source and encourages open participation and involvement I believe those with this knowledge can help the process of contribution more effective by sharing this information with us especially those that has been involved from the beginning of idempiere OSGi movement. 

So help is needed in decoding this sequence as it will greatly aid the confusion usually associated with the program flow of idempiere. No reference I no of does this currently. Not plug-in development wiki or any other. How is the startup wired together? How, when , and where is the server started? How when and where is the client started, both wing and zk? Thanks for your understanding and patience.

The responses that will be generated will be condensed into a wiki page dedicated to this question. I can help with this.

-John

Edwin Ang

unread,
Dec 1, 2014, 3:45:34 AM12/1/14
to idem...@googlegroups.com
Hi John,

Can this page help you?



Regards,

Edwin Ang


--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/8816b745-1ad7-442c-bd09-7e8395dda28a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

johnbendi

unread,
Dec 1, 2014, 4:18:34 PM12/1/14
to idem...@googlegroups.com
Thanks Edwin, that page has been helpful for setting up eclipse for idempiere and for other purposes for which it was written for. 

My question is related to understanding the wiring of the the osgi idempiere start up sequence. Which idempere class is first called by the osgi framework in the startup sequence of idempere? What bundle kicks of first and how does it go from there till the startup is complete and ready for processing messages. 

Regards, looking forward to your reply.
-John

Heng Sin Low

unread,
Dec 1, 2014, 6:40:16 PM12/1/14
to idem...@googlegroups.com
For server, the starting point is org.adempiere.server.Application from the org.adempiere.server bundle.

Also, OSGi doesn't allow you to define the starting sequence of bundle with the same starting level. The OSGi framework can choose to start some of them concurrently.

Edwin Ang

unread,
Dec 1, 2014, 10:43:43 PM12/1/14
to idem...@googlegroups.com
Hi John,

If you want to go that deep then you need to learn about OSGi and Buckminster first 
Once you've grasp enough knowledge on those two, then everything will start to make sense, and for sure you will know where to look around.

Regards,

Edwin Ang

johnbendi

unread,
Dec 3, 2014, 4:06:40 AM12/3/14
to idem...@googlegroups.com
Thanks for the feedback. 

Hiep Lq

unread,
Feb 11, 2015, 1:30:21 PM2/11/15
to idem...@googlegroups.com
hi johnbendi.
maybe this wiki can help you know about "startup sequence"
Reply all
Reply to author
Forward
0 new messages