• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

One requirement nor clear

 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what my instructions.html say

Specifically, you should document clear, simple command lines that allow your programs to be run on any Java 2 platform, regardless of the underlying hardware and operating system

This means that,It should run on WIndows, unix (solaris, hp-ux), probably linux..et. al.
But it also says please document in the readme.txt which platform did you develop on and on which one did you test it.
If it has to run on every platform (being that it is java, and it is supposed to do that anyway) then how does it matter which platform we developed it and tested it on.
Am i reading between the lines here? Are we supposed to test the server on Unix and client on windows and/or vice-versa?
I was just planning to test it on 2 different windows boxes. The server and rmiregistry being on one and the client being on the other windows box.
Please let me know what you guys did.
Thanks,In advance
pk
 
Vikas Sood
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prakash,
My assignment requirements also say about the same,but from the feedbacks which i have checked on this forum it seems we are suppose to test on one of the platforms and document it accordingly.

Regards
VikasSood
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12007
215
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prakash,
A similar issue was raised by Sarita Gupta who asked do I have to document how to install and execute the application in both Unix and Windows environment in this thread about the readme document, to which I replied:
It would not be possible to document how to install and execute the application in every environment that Java runs on, even if you tried to limit it to those with GUIs. So all you have to do is document how to install and execute it on the platform you developed on.
No one made any comments at all to my post so, I assume it is what most people agree with.
-----
Running on different platforms can have an effect on your GUI despite the fact that it is "write once, run anywhere". A typical issue could be the size of buttons - are they 32 pixels high or 24 pixels high: this differs between platforms. If your design relies on exact placements, then you are more likely to run into problems with this than if you use a standard layout manager. If you use a standard layout manager, and allow your screens to be resized, then a layout problem caused by platform issues should be rectified by the user resizing the window. This then raises the issue of whether you save the user's preferred window size and location and reuse them next time through.
All of which is a long way of saying that if you can test on multiple platforms, then you should do so. But if you cant, dont loose sleep over it. I dont think that Sun, or anyone else, expect you to go out and buy some brand new equipment just to test your assignment.
Question for the group: Has anyone ever tried asking Sun if they can use one of Sun's machines to test on? Most hardware manufacturers (HP, IBM) have test rooms set up all over the world so that software manufacturers can test and benchmark their software, and I assume that Sun would be the same. I wonder if they would be kind enough to allow a candidate to come on site and use such a machine? Probably overkill unless you are almost next door to the Sun offices and have no other way of testing cross platform, and really really want to do this.
Still want to test but still stuck? If you ask amongst your collegues and friends, you will probably find one that is a Linux user (try sys admins at work or at the local Uni - they often have at least one Linux box laying around), and see if they will let you test on Linux.
Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic