Website ID

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Website ID

BJ Freeman
I am tackling Tomcat and how OFbiz connects together.
Currently I am looking at were ofbiz ties into Tomcat  for a request.
I think it is org.ofbiz.webapp.control.ContextFilter.java#init().
One of the things I see is getting the websiteID as far as I can see in
the WebSiteWorker.java they are not found by the Host URL.

Is there a problem with look up website to match the host urls. I can
see in a tenant version this could be lengthy.

This would be transparent if there are no URLs placed in the website entity.
This would allow reusing same code based on the host URL.