• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jar size difference on Windows and Linux

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1170
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic