Results 1 to 5 of 5

Thread: Java SugarCRM

  1. #1
    machineghost is offline Senior Member
    Join Date
    Oct 2008
    Posts
    51

    Default Java SugarCRM

    Hey All,

    As regular readers of this forum have surely noticed, I've been asking a lot of questions lately. With a few exceptions, all have gotten very helpful responses, which has enabled me to complete my initial setup of SugarCRM (thanks!). With that out of the way, I'm starting to develop integration points between Sugar and our software, and it occurred to me that some of the code I'm writing might be useful to someone else.

    Specifically, I have one bit of Java code (a class with three methods) that mimics the createGuid functionality within SugarCRM. Why would anyone want this, you might ask? Well, since SugarCRM uses MySQL, and since JDBC can connect to MySQL databases, Sugar records are extremely easy to work with in Java. If your main application is written in Java (like ours is), you can have it create Sugar records (for instance, creating a "New Customer Setup" project with a list of pre-defined Project Tasks) just by doing a few INSERTs.

    Since Sugar is extremely flexible about its IDs, you really could use whatever ID scheme you want for these new records, as long as you ensure uniqueness. But, if you're like me and you want to keep things as "Sugary" as possible, you'll want to generate a proper Sugar ID for your new records, and that's where my code comes in: by replicating the existing ID generation functionality in Sugar (I literally copied the PHP code and then changed it, line by line, to Java), you can do just that.

    But before I bother posting this code, I have to ask: does anyone out there even want it? Am I the only one interested in Java/SugarCRM?

  2. #2
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Java SugarCRM

    There are definitely people interested in connecting to Sugar via Java. Check out the articles in the Sugar Dev Zone written by the folks at beanizer.org. If you post your code examples in the Developer Tutorials forum, I will be sure they are added into the Dev Zone also.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  3. #3
    machineghost is offline Senior Member
    Join Date
    Oct 2008
    Posts
    51

    Default Re: Java SugarCRM

    Awesome! As soon as I have a moment to spare I will do both (check out the articles and post my code). Thanks

  4. #4
    aanishathomas Guest

    Post Re: Java SugarCRM

    Hello..
    CRM software are so much in use these days that many people are looking forward to it. The work of the people is so quick and efficient with the help of it. I must say that one should definitely think about it if you want to see the business grow in less time. Do you agree with me?
    ______________
    Have a look at: contact manager software | online crm .

  5. #5
    Valentinos is offline Sugar Community Member
    Join Date
    Mar 2012
    Posts
    13

    Default Re: Java SugarCRM

    This information is useful with me,thanks a lot!
    _______________
    Paloma junk- Emeraude cruise- Pantai Tengah Hotels
    Last edited by Valentinos; Yesterday at 04:56 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  2. Can't edit labelsfor Campaigns in Studio
    By nzlyoung in forum Help
    Replies: 0
    Last Post: 2008-07-30, 10:41 PM
  3. Replies: 5
    Last Post: 2007-11-13, 02:51 PM
  4. 4.0 Login Loop
    By ari in forum Help
    Replies: 1
    Last Post: 2006-01-05, 08:24 PM
  5. Serious issue with sugarcrm 3.5.1.c
    By wp.rauchholz in forum Help
    Replies: 17
    Last Post: 2005-12-01, 07:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •