Sagewire Logo

Problem with RMI file Browsing

3 Message(s) by 3 Author(s) originally posted in java programmer


From: bluegene Date:   Friday, October 26, 2007
I have created an Explorer(Basic windows style) using RMI and JAVA.
On localhost it run s fine , but on remote host it shows some
inconsistency.
Though file s and folders are visible and ok , but their size (in some
cases) is 0 .
I am unable to track the problem.
Source code is available at geocities.com/dev.sushant/rmi for
review.
(Project is developed in Netbeans and can be easily accessed.)


From: Esmond Pitt Date:   Friday, October 26, 2007
wrote in message:
Source code is available at geocities.com/dev.sushant/rmi for
review.
(Project is developed in Netbeans and can be easily accessed.)



You must be kidding if you seriously expect anyone to download your code
and put it into Netbeans.

However your problem will undoubtedly be that you are serializing Files
and trying to get their length at the wrong side. File does not take its
length with it when you serialize it, or any other attribute except its
name. You need to get all the File attributes you want at the side where
they can be obtained, and ship them all to the other side.


From: Andrew Thompson Date:   Friday, October 26, 2007
wrote in message:
Source code is available at geocities.com/dev.sushant/rmi for
review.
(Project is developed in Netbeans and can be easily accessed.)
You must be kidding if you seriously expect anyone to download your code
and put it into Netbeans.
..


I agree with your basic point, though I *did* download the
OP's 166 Kb of Zip file*. It was disappointing the OP had
not thought to run the 'clean' task to clear the build and
dist directories before zip ping it.

I don't have any version of NB immediately available, but
experimented a little with the available build.xml to see if I
could throw the project on-screen, but after ten minutes of
less than optimal results, I gave up and moved on..

* And yes, I was really bored and at a loose end, at the time.

--
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via JAVAKB.com
http://www.JAVAkb.com/Uwe/Forums.aspx/JAVA-general/200710/1



Next Message: !!!!!! MONEY ONLINE FAST AND LEGALLY !!!!!!


Blogs related to Problem with RMI file Browsing

Servlets FAQ's
Ans: Servlets are modules that extend request/response-oriented servers, such as java-enabled web servers.For example, a servlet might be responsible for taking data in an HTML order-entry form and applying the business logic used to ...

91) What is connection pooling?
Ans: JSP is a dynamic scripting capability for web pages that allows Java as well as a few special tags to be embedded into a web file (HTML/XML, etc). The suffix traditionally ends with .jsp to indicate to the web server that the file ...

Java EJB Interview questions Part5
T3 predates Java Object Serialization and RMI, while closely tracking and leveraging these specifications. T3 is a superset of Java Object. Serialization or RMI; anything you can do in Java Object Serialization and RMI can be done over ...

Re: How to configure jcr plugin to point to existing repository
If > > the repository is registered using the Jackrabbit RMI > > ServerAdapterFactory the standard Java RMI implementation should be > > used, which AFAIK is not different for JBoss. > > > > Hope this helps. ...

File - JAVA J2EE PM & Architect .htm
JAVA, J2EE, J2ME, J2SE, XML, DOM, SAX, EJB, JDBC, RMI, Weblogic, Websphere, Middleware, Webservers,Oracle/SQL/DB2, Swing,JAVA Bean,JSP, Servlet, EJB, JSP, Web logic, Apache Tomcat, Websphere, JBoss,XSLT ,Hibernate,MS SQL Server,PL/SQL, ...

JAVA BY MOHIT
Sun's trademark license for usage of the Java brand insists that all implementations be "compatible". This resulted in a legal dispute with Microsoft after Sun claimed that the Microsoft implementation did not support the RMI and JNI ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional