Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7073639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:57:13+00:00 2026-05-28T05:57:13+00:00

I am implementing a simple recommendation system for a collection of user created components.

  • 0

I am implementing a simple recommendation system for a collection of user created components.

I was planning on doing this with JPA and a few dedicated EJB. My entities would have extra couple of lists containing the most up to date recommendations, then an EJB would crawl the data set and update this list periodically. The model is based on the relationships between components, and does not depend on past user behavior. I expect that the data set will remain relatively small. probably no more than half a million items.

I have a pretty good idea of how to do this with JPA and EJB, and I think for my particular use case, this would be very effective.

Should I spend the time to learn and implement Mahout? I do have a bit of experience with hadoop, although, I don’t think my data set will be nearly large enough to justify bringing in the elephant.

Also, can anyone point me to a good primer on implementing recommendation systems with mahout?

Thanks a lot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:57:14+00:00Added an answer on May 28, 2026 at 5:57 am

    If you are implementing a recommender engine, be aware that that piece of Mahout has quite separate implementations based on Hadoop, and not based on Hadoop. That’s good because Hadoop is not the sort of thing that would be hooked up directly to anything EJB-based. And you don’t have huge scale problems. So, you don’t need to worry about Hadoop.

    You want to look at the stuff in org.apache.mahout.cf.taste.impl besides the .hadoop package; it’s all just pure Java so you could embed it in an EJB. I think you want to look at the Recommender API and then just wrap that in your session bean and expose it however you like.

    (Do you really want to use EJBs these days? Separate question…)

    In fact, the previous release, 0.4, still had an EJB binding example as a stateless session bean. You could dig out and reuse that wrapper.

    The best web resource for this part of the code is:
    https://cwiki.apache.org/MAHOUT/recommender-documentation.html

    Our book, Mahout in Action, is obviously not free but is certainly the best and only reference for the project. I wrote the code in question here and the part of the book on this code and so it’s pretty direct from the source.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm implementing a simple Graph library for my uni project and since this is
I started down this path of implementing a simple search in an array for
I am implementing a simple license-file system, and would like to know if there
I'm implementing a simple camera system in OpenGL. I set up gluPerspective under the
I am implementing a simple drop-down using hiccup: ;DATASET/CREATE (defn get-cols-nms [table] This function
Need guidance on best practice for implementing a simple quota system I'd like to
I'm trying to create JPA class implementing simple interface: public interface Task<T> { public
I am implementing a simple portal using jsp and struts, the user full fill
I'm implementing a simple login system to a web app where no critical or
I'm implementing a simple referral system. I have middleware which sets a session variable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.