iDempiere Jetty

612 views
Skip to first unread message

johnbendi

unread,
Jan 13, 2015, 3:22:31 PM1/13/15
to idem...@googlegroups.com
How does the adempiere system interact with jetty?

Knowing this will help me get a clearer picture of how the idempiere system works and handles my data. I am tired of having to dig through the code and not getting a hold of this complexity. 

redhuan d. oon

unread,
Jan 13, 2015, 8:11:02 PM1/13/15
to idem...@googlegroups.com
Try digging here http://wiki.eclipse.org/Jetty/Feature/Jetty_OSGi its easier to read.

johnbendi

unread,
Jan 13, 2015, 10:33:11 PM1/13/15
to idem...@googlegroups.com
Where in the source does idempiere provide the servlet or context handler for URIs like /webui and where does it do the registration?

Real details like these are what I'm looking for. 

Hiep Lq

unread,
Jan 14, 2015, 4:29:47 AM1/14/15
to idem...@googlegroups.com
hi johnbendi.
has some plug-in use servlet in idempiere, you can reference. for registry you use web.xml. each plug-in has one file web.xml
to find project do step by step:
1. open idempiere in eclipse 
2. click ctrl + alt + r
3. type web.xml you will see list web.xml with path to plug-in.

for learn how to idempiere work with jetty, I start by learn how to setup a web project in jetty follow osgi.
you can refer my project at https://bitbucket.org/hieplq/hsv-website branch zk7 

johnbendi

unread,
Jan 15, 2015, 5:45:19 AM1/15/15
to idem...@googlegroups.com
You mean that having a WEB-INF/web.xml is enough to get your plugin deployed as a web-application in a OSGI environment?

Daniel Tamm

unread,
Jan 15, 2015, 5:59:02 AM1/15/15
to idem...@googlegroups.com
I also have the following line in my META-INF/MANIFEST.MF as well as the WEB-INF/web.xml

Web-ContextPath: /mywebcontext

/mywebcontext is changed to whatever you call your context.

/Daniel
--
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/0994a067-09bc-4004-9dac-ec75ccff9ff5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 

--
Notima AB
Lärjungevägen 6
SE-136 69 Vendelsö
Tel: +46 8 776 31 30 Fax: +46 8 712 95 73
Web: http://www.notima.se/
--

johnbendi

unread,
Jan 16, 2015, 12:46:03 AM1/16/15
to idem...@googlegroups.com
Yes Daniel you're right. Also Redhuan's link was very helpful. Initially I thought the link didn't answer my question but after Hiep's reply I started to get the hang of it and went back to that link. 

Change is a very hard thing to get used to especially when it's happening so fast so often.
Reply all
Reply to author
Forward
0 new messages