E-Commerce on open source
January 2011, Happy New Year!
Weather here in New Zealand has been a bit of a mixed bag, but when you living in a country like this even rainy days are awesome! (that’s my NZ promotion done for the year).
We’ve been involved with the E-Commerce stack from SAP for quite a few years now (since 2003) and thought we would finally share how we have been able to become very fast at both development, maintenance and troubleshooting of the various flavors of E-Commerce. Let’s call this our New Year 2011 present to the community (and for those of you who do not find the New Year anything special, this is for your next birthday).
Some reasonable pointers to be aware of (sorry, list is quite long):
What we describe below is of course outside the SAP supported way of using NWDS and NWDI and unless you are willing to throw bundles of some good currency our way we will also only support it on an ad-hoc basis because we are nice guys 😉
Saying that, this is solid stuff…used for years at various customer sites and improved many times over (I think we counted about 500 man days spent on building it), if you know your Java development (outside of SAP especially) and understand E-Commerce you should really have this up and running in a day or two at most (don’t feel bad if it takes you longer, just means that you haven’t used some of this stuff before).
We are also very conscious that we don’t thread on SAP’s ownership of the code or copyrights, etc. Please respect them as you would hope others to respect your copyrights. We have gone to reasonable lengths to only provide how-to instructions and you have to insert all the SAP specific parts in there. Of course we could have technically been able to give you a pre-built environment, but we just can’t + this way you actually get a much better understanding of the steps and why they happen.
Don’t use this for Test or Prod environments. Really, this is just for real developers as an alternative local dev. environment to (rocket) boost your productivity tenfolds. Refer back to earlier “not supported” statements…if you ask SAP support a single question about this then you deserve the response you will most likely get 🙂
We, as in “The Sisu Team from NZ” designed and built this environment…we are asking nothing else in return except that you do not present this as your own solution to anyone, don’t try to sell this to anyone, charge a customer for using this or do something else that is not considered good manners…bad karma will follow from such actions…
And last very important point: We are not responsible of what you might or might not break while using this…really…we can’t quite think what you could break using this, but where there is a will there is a way so take care and be responsible for your actions.
Right, now to the business end of this blog…an explanation of what we have done, then the question and hopefully later the details:
Why did we do this?
- Allows us to use any recent version of Eclipse for development with any plug-ins of our choice as well as any J2EE engine we like (well, at least Tomcat or Jetty).
- JSP changes reflected on page as soon as you save the JSP change.
- Hot Code replacement meaning that in many cases when you modify Java source code you don’t have to re-deploy)
- Server restart time in seconds or perhaps a few tens of them (depending on your hardware spec.)
3. Ease of adaptation by non-SAP Java devs.
- Using standard dev tools and processes (Eclipse, SVN, Jetty, Tomcat) significantly decreases the time it takes for a new resource to become productive + there are tons of documentation and forum support for each used technology and process.
4. Ease of dev tasks and maintenance
- JSP Debugging available (and local)
- General source debugging locally (fast)
- SVN source control easy to integrate with ticketing systems like TRAC giving a very powerful combination
So generally we are just talking about something that is a way lighter, more flexible, easier to learn and faster (we are talking about a big multiplier in performance) environment to do your development in compared to NWDS / NWDI solution.
The beauty of the statements above is that you don’t have to believe us at all, but actually do side by side comparison with whatever you are doing right now and make up your own mind. We would LOVE for someone to show us how to achieve most of these using NWDS or NWDI.
Right, so that was why and partially what we use as well. To keep this blog entry concise we have decided to provide the detailed instructions on our site with the links to the actual files you need (20 page PDF and 17 MB download).