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 9 of 9

Thread: how to write a simple api for beginner

  1. #1
    Member
    Join Date
    May 2020
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to write a simple api for beginner

    i am new beginner of using java, how can i write a simple api to test the program for the beginner.
    any guideline or sample code for reference.

    i am using esclipse dev tool. thanks.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: how to write a simple api for beginner

    Can you give an example of what you mean by api to test?
    Are you the beginner or is this project to be used by someone else that is a beginner.

    Here is the API Specification for java: http://docs.oracle.com/javase/8/docs/api/index.html
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Member
    Join Date
    May 2020
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: how to write a simple api for beginner

    thanks for your information. after clarification, i found that I better know more about restful api, may i know what is the different for restful api. any example about restful api that let me easier to follow the sample code to create a simple one for practice. including JSON?

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: how to write a simple api for beginner

    Sorry, I don't know anything about restful or JSON.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Member
    Join Date
    May 2020
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: how to write a simple api for beginner

    i want a sample code of restful api with JSON as returning object.

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: how to write a simple api for beginner

    Try asking on a forum for restful or JSON
    If you don't understand my answer, don't ignore it, ask a question.

  7. #7
    Member
    Join Date
    May 2020
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: how to write a simple api for beginner

    hi , would you give me a linkage for me. thanks. or inbox me the URL. thanks.

  8. #8
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: how to write a simple api for beginner

    Sorry, I do not know anything about those topics. Ask google
    If you don't understand my answer, don't ignore it, ask a question.

  9. #9
    Member
    Join Date
    May 2020
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: how to write a simple api for beginner

    anyone know how to build a restful api project, if i want to run in localhost, what object should i build for adding into IBM web application server console?

Similar Threads

  1. Write A Java Program to store values (Beginner)
    By blackredblink in forum What's Wrong With My Code?
    Replies: 5
    Last Post: November 17th, 2019, 06:11 AM
  2. 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
  3. Re: How hard would this be to write for a Beginner?
    By ronaldreinne in forum Java Theory & Questions
    Replies: 2
    Last Post: August 14th, 2012, 11:33 PM
  4. How hard would this be to write for a Beginner?
    By Bgriesh in forum Java Theory & Questions
    Replies: 7
    Last Post: August 11th, 2012, 01:30 AM
  5. Please help me write two very simple programs
    By ibex333 in forum Java Theory & Questions
    Replies: 1
    Last Post: March 11th, 2012, 05:41 PM