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: How do I implement a networking framework?

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Location
    Land of Nords! (Norway)
    Posts
    6
    My Mood
    Mellow
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How do I implement a networking framework?

    Hello. This is my first thread, but I'll try my best to explain.

    I am making a rpg game, and I am wondering how to implement a network framework like netty. Do I just move the .jar into there and add some position updater and make it show the other players? Btw is there any other networking frameworks that is more easy to use, and easy to implement?
    Thanks.


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

    Default Re: How do I implement a networking framework?

    Are you looking for a package that handles all of the networking I/O that you can plug your code into?

  3. #3
    Junior Member
    Join Date
    Dec 2011
    Location
    Land of Nords! (Norway)
    Posts
    6
    My Mood
    Mellow
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How do I implement a networking framework?

    Quote Originally Posted by Norm View Post
    Are you looking for a package that handles all of the networking I/O that you can plug your code into?
    Yes. I think...
    I have seen in some other ORPG engines that they have just put the netty.jar into a folder and not much code was added to make it work.

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

    Default Re: How do I implement a networking framework?

    We spend more time here helping students learn how to write programs.

    Third party packages are not discussed or used much.

  5. #5
    Junior Member
    Join Date
    Dec 2011
    Location
    Land of Nords! (Norway)
    Posts
    6
    My Mood
    Mellow
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How do I implement a networking framework?

    Quote Originally Posted by Norm View Post
    We spend more time here helping students learn how to write programs.

    Third party packages are not discussed or used much.
    Oh well okay.
    Do you know if it is easy to make your own network framework? I only need position updating and facing.

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

    Default Re: How do I implement a networking framework?

    That would be a good project for someone.
    If you could define what the client and server bits need to do.

    What is "position updating and facing"? That sounds like a specific application not a general purpose framework for controlling/coordinating a bunch of clients.

  7. #7
    Junior Member
    Join Date
    Dec 2011
    Location
    Land of Nords! (Norway)
    Posts
    6
    My Mood
    Mellow
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How do I implement a networking framework?

    Quote Originally Posted by Norm View Post
    What is "position updating and facing"? That sounds like a specific application not a general purpose framework for controlling/coordinating a bunch of clients.
    It just sends the others persons coordinates and what position it's facing (Up, down, left or right).

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

    Default Re: How do I implement a networking framework?

    That must mean it has a GUI and some kind of image it displays.

Similar Threads

  1. Mina networking
    By imsuperman05 in forum Java Networking
    Replies: 5
    Last Post: December 24th, 2011, 01:01 PM
  2. Game Networking
    By Parsnips in forum Java Networking
    Replies: 15
    Last Post: December 1st, 2011, 02:57 PM
  3. When use Collection Framework?
    By hexwind in forum Java Theory & Questions
    Replies: 7
    Last Post: July 31st, 2011, 04:19 PM
  4. A little game framework gem
    By Johannes in forum The Cafe
    Replies: 3
    Last Post: October 12th, 2010, 06:42 AM
  5. networking in java
    By sridhar in forum Member Introductions
    Replies: 1
    Last Post: October 4th, 2010, 11:11 AM