1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

what is JShooter?

Discussion in 'Web Development' started by omid128, Jul 9, 2010.

  1. omid128

    omid128 New Member

    Joined:
    Jul 9, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    JShooter is a framework for distributing application programs on the network. Certainly, you have used RMI, Corba and JMS. Each of aforementioned technologies has its own special problems and at the same time enjoys extraordinary advantages. However, you must be careful about the expenses caused by these technologies. In most cases RMI, Corba and JMS increase the productions’ costs unbelievably. However in other cases they confuse programmers. Years ago, Reflect Oriented Programming was the focus of attention within professional programmers, then Aspect Oriented Programming came into the programming world but instead of reducing the programmer’s task, it causes the professional programmers and even the amateur ones to be confused in many cases. One of the most important capabilities of JShooter is that it makes the “Reflect Oriented Programming” easier to use.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    You posted the same content in 3 threads now and so make sure you do not repeat the same or else your account can get banned.
     
  3. omid128

    omid128 New Member

    Joined:
    Jul 9, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0

    sorry for that mistake
     
  4. omid128

    omid128 New Member

    Joined:
    Jul 9, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    a jshooter sample

    here is a sample for jshooter
    it's very easy to understand
    but a complete doc is availabe
    you just need to download shine enterprise library and enjoy it

    here is library and doc :

    SourceForge.
    net/projects/shine-enterpris/files/
     

    Attached Files:

  5. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    Moved JShooter Sample in the JShooter thread of yours
     
  6. omid128

    omid128 New Member

    Joined:
    Jul 9, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    ok you are right sorry

    but because it was new and some how diffrent with that post I open a new post

    tnx
     
  7. john.stalin.java

    john.stalin.java New Member

    Joined:
    Jul 25, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    this is my jshooter exapmle code
    feel free to ask any Question


    server side code
    file name : Server.java
    Code:
    package ServerSide;
    
    public class Server 
    {
    //the definition of method lay here
      public void PrintName(String Name)
      {
          System.out.print("Dear user Your name is "+Name);
          System.out.print("<br>");
      }
      public int Plus(int val1,int val2)
      {
          int res = val1 + val2 ;
          System.out.print(val1+" + "+val2+" is equal "+res+"");
          System.out.print("<br>");
          return res;
      }
      private void private_Method()
      {
        System.out.print("Peivate Method is invoked");
        System.out.print("<br>");
      }
    }
    

    Client side code
    file name : Client.java

    Code:
    package ClientSide;
    import ServerSide.Server;
    import org.j2sos.shine.jshooter.*;
    import java.util.ArrayList;
    public class Client 
    {
    //call the method from server side
    //1- get method type
    //2- invoke a method
    //3- newInstat 
    //4- get fild type
      public static void main(String arg[])throws Exception
      {
         ServerApplication Client_Obj = new Application().receive("Rokhsana","CommunityName");
         Client_Obj.newInstance("ServerSide.Server");
        ArrayList method_array = Client_Obj.getMethodsNames();
        int i = 0;
        while(method_array.size()!=i)
        {
          System.out.println(method_array.get(i));
          i ++;
        }
      }
    }
    

    engine code on the server
    file name : Core.java

    Code:
    package Engin;
    import org.j2sos.shine.jshooter.Application;
    
    public class Core 
    {
    //distribute server class for client
      public static void main(String arg[])throws Exception
      {
        Application distrubuted_Obj = new Application();
        distrubuted_Obj.distribute(1099,"CommunityName");
        System.out.print("~~~~~~~~~~Core isrunning~~~~~~~~~~~~~~");
      }
    }
    
     

Share This Page