473,403 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

java rmi skeleton

50
hello all,
im trying out examples for java rmi but am having a problem.. the skeleton is not being generated, only the stub is generated.
i have an example with the following classes:
Account.java( which is the interface definition)
AccountImpl.java (contains implementation for the remote interface)
AccountServer.java
AccountClient.java

i have already set my classpath, etc..
to compile i did the following:

javac Account.java
javac AccountImpl.java
javac AccountServer.java
javac AccountClient.java
rmic AccountImpl


To run:
start rmiregistry
java -Djava.security.policy=mypolicy AccountServer
java -Djava.security.policy=mypolicy AccountClient

mypolicy is the name of my file where i have stored the policy thing..

when i look in my folder after compiling and running the program i find the AccountImpl_Stub class but i dont find the skeleton!!
how do i generate the skeleton???
i have tried other examples also but its the same

plzz help
thx
Jan 31 '09 #1
3 3966
JosAH
11,448 Expert 8TB
What Java version are you running? Skeletons and stubs are outdated nowadays. Read the latest version of the RMI tutorial. Things have been made easier over the years.

kind regards,

Jos
Jan 31 '09 #2
poopsy
50
i have java 1.6 installed.
i am doing this for a lab test coz i've been told that we should see both the stub and skeleton in the folder..
Jan 31 '09 #3
JosAH
11,448 Expert 8TB
@poopsy
If you read that tutorial you'll see that nowhere the RMI compiler (rmic) is used anymore because it isn't needed anymore and you most certainly don't need those skeleton classes anymore. Follow the example (the pi calculator) and see a working rmi application.

kind regards,

Jos
Jan 31 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: apchar | last post by:
I am trying to use php as a kind of servlet to act as a middle man between a java applet and mysql. I know java has jdbc but it's flakey and painful. php access to mysql is much nicer. So I have:...
4
by: Edvard Majakari | last post by:
Greetings, fellow Pythonistas! I'm about to create three modules. As an avid TDD fan I'd like to create typical 'use-cases' for each of these modules. One of them is rather large, and I wondered...
4
by: Skeleton Man | last post by:
Hi, Upon installing Oracle 9i (9.2.0.1.0) on a Debian box, the whole install process completes, but when I get to the very end and it trys to setup configuration assistants, all three fail with...
3
by: Jim Garrison | last post by:
I need to create a ResultSet in an Oracle Java Stored Procedure and return it to a PL/SQL caller. I've done quite a bit of research in Oracle's manuals and on the Web, and have found lots of...
0
by: danjourno | last post by:
I have a number of xsd files defining schema for web services that are in pairs of a Request.xsd (to define the structure of a request) and a Response.xsd (to define the structure of a response)....
1
by: Emanuele Parati | last post by:
I created a Web Service from a WSDL that come from Java (apache soap). It contains the definition of Vector as complex type: <schema targetNamespace="http://xml.apache.org/xml-soap"...
0
by: feng | last post by:
I am getting error between my local code, that's making call to a remote object, and the called remote code. The error occoured after my remote object returns (I can debug to that point. And it...
2
by: davidson1 | last post by:
Hai friends, To display skeleton of table we have in oracle desc student; name char(200) age number(10) In SQLSERVER do we have any command to display skeleton of table...
1
by: mshroom12 | last post by:
Hello to all. I am having difficulty trying to do this Java project using Eclipse. The following is what I have to do. Election Day It's almost election day and the election officials need a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.