Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jar size difference on Windows and Linux

 
Saritha Penumudi
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Thank you for reading my post. Just a small clarification.

The development enviornment of my project is windows XP and testing env is Linux.

Problem that I am facing is when I run my application on my dev box is it working perfect where as on test env it does not.
I have this feature where when user enter some data in the text box and tabs out, request is sent to server to get options in the select box.

On dev box I see this request going to server and I see results back in the drop down box. Where as in linux box I don't see this functionality working.

The code I am using to build the war file is same on both DEV and TEST however when I compare size of the war files they are different.

While back I read that the size of the war file depends on the Operating system. Is it true?

your input will be a great help to me.
 
Ed Ward
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I realize the question is a few days old but I'm bored.

While back I read that the size of the war file depends on the Operating system. Is it true?


Correct.
As I recall, it's the file system that causes the difference as some are more efficient than others when storing bits.
[ May 28, 2006: Message edited by: S Root ]
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its not so much as efficiency at storing bits. Its more of a question of tuning. You can format the filesystem in different ways. One way can give you more space, but longer load times. Another way can give you less space but quicker load times. And many variations on other things like this.

But there is a way I think to get a file size that does not change based on the disk format, but I cant recall it.
 
Vlado Zajac
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
File size does not depend on file system. Only space used to store the file may be different.

war size depends on program used to create it (may be compressed with different efficiency) and its contents.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic