I have created a netbeans maven web project. How would you recommend I can use RecommenderService class to create the service in my project? The best I can do is to create my own servlet.
Also, should I be learning EE and make a RESTful service like the facebook recommender? My concern is that RecommenderService is already created so I know it works. I would rather not create my own service, as I am not familiar with Java EE. -----Original Message----- From: Ted Dunning [mailto:[email protected]] Sent: Wednesday, March 07, 2012 1:53 PM To: [email protected] Subject: Re: packaging a recommender as a war file A separate project like this is a better way to package this in any case. It is bad practice to have developers modifying Mahout itself in order to build their applications. Nice work, Manuel! On Wed, Mar 7, 2012 at 10:00 AM, Manuel Blechschmidt < [email protected]> wrote: > Hi Ben, > I have a gihub project which creates a war file in the end with a ready to > go recommender. > > It is a Java EE 6 application with EJBs. Nevertheless should be easy to > package it as a web app. > > https://github.com/ManuelB/facebook-recommender-demo > > /Manuel > > > On 07.03.2012, at 17:54, Ben Brodie wrote: > > > Hi, > > > > I am not all that familiar with maven, and perhaps that is the source of > my troubles. I can not figure out how to use the "integration" directory > for packaging a recommender as a war file. The website only gives an > example that is already set up, but that doesn't tell me how to package my > own recommender. I also have Mahout In Action, but this is written for 0.5, > which seems to use a different method of this. Furthermore, the current > distribution of 0.5 does not have the same structure as that referred to in > Mahout In Action. > > > > This should be easy --- I have my custom Recommender and would like to > package this as a war file (preferably with 0.6). All I need is a direct > explanation of how to accomplish this. > > > > Thanks, > > Ben > > -- > Manuel Blechschmidt > Dortustr. 57 > 14467 Potsdam > Mobil: 0173/6322621 > Twitter: http://twitter.com/Manuel_B > >
