Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 8 of 8

Thread: Stubbing documents in SharePoint using java Api

  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Stubbing documents in SharePoint using java Api

    Hi,
    I want to create a Sharepoint Stubbing using java api by, replacing the real files with a smaller file containing only the information necessary to retrieve the original file. Now the real file can be store anywhere and in any format as long it can be restored in a timely manner and unmodified.


    Please Guide me How can we implement this in SharePoint using java.


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Stubbing documents in SharePoint using java Api

    Does SharePoint have an API or Java Programmer's guide of some kind that documents how to create third-party add ons or utilities that do what you've described?

  3. #3
    Junior Member
    Join Date
    May 2014
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Stubbing documents in SharePoint using java Api

    I am able to connect sharepoint server using java programming and retrieve all documents from sharepoint,
    now I need to implement stubbing on sharepoint web services using java programming

    meaning of Stubbing
    it is the process of replacing the real files with a smaller file containing only the information necessary to retrieve the original file. Now the real file can be store anywhere and in any format as long it can be restored in a timely manner and unmodified.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Stubbing documents in SharePoint using java Api

    What part of that is done by the SharePoint API?

    How are the smaller files used? Is it by code in the SharePoint API?
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Stubbing documents in SharePoint using java Api

    What you describe sounds like simple document editing, but to do that you have to know the format of the document and how to preserve the format so that the modified (stubbed) document remains a valid SharePoint document. Do you have that info? If so, what do you need to know beyond that? It seems the steps are: Read the file, modify it using Java, return the modified file (or save the modified file and return the original file - I'm not sure which based on your description of stubbing).

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Stubbing documents in SharePoint using java Api

    Are you asking us to read the doc and figure it out for you?
    I wouldn't want to take away any of the sense of accomplishment you will get from doing it yourself.

    If you have any specific java SE coding questions, please ask them.
    For SharePoint questions, why not ask on their forum.
    Copy and paste here any doc that you have questions about and ask your question about it.
    If you don't understand my answer, don't ignore it, ask a question.

  7. #7
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Stubbing documents in SharePoint using java Api


  8. #8
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Stubbing documents in SharePoint using java Api

    Threads merged and moved.

    Please do not start duplicate threads on the same topic. Continue by answering the questions you were asked in your original thread.

Similar Threads

  1. Is this code an API? Beginner learning to write an API and decoupling.
    By Learning2Java in forum Java Theory & Questions
    Replies: 3
    Last Post: April 22nd, 2014, 12:59 PM
  2. Replies: 4
    Last Post: September 22nd, 2013, 01:43 PM
  3. Replies: 4
    Last Post: November 16th, 2012, 02:57 PM
  4. Replies: 0
    Last Post: September 15th, 2011, 06:44 AM
  5. java code to split text documents into paragraphs and sentences
    By draksha in forum Java Theory & Questions
    Replies: 5
    Last Post: August 17th, 2011, 05:06 AM