• Post Reply Bookmark Topic Watch Topic
  • New Topic

info on file types.  RSS feed

 
Shhailesh Joshi
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone tell me what .dll, .bin,.dat, and other different files in any sofware product stands for, what is use of them, can we create that file for our java program, if yes, how?
 
Junilu Lacar
Sheriff
Posts: 11494
180
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shhailesh Joshi wrote:can anyone tell me what .dll, .bin,.dat, and other different files in any sofware product stands for, what is use of them, can we create that file for our java program, if yes, how?


Hi Shhailesh,

Cowpokes around here like it when you do a bit of research on your own before asking wide-open questions like this. Have you tried searching for a list of file formats? As far as how to create a file for your Java program, let me see... do you have a few $100K to hire a bunch of offshore consultants? That's an awful lot of different formats and files you're talking about What exactly are you looking to do?
 
Shhailesh Joshi
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i didn't mean to create my own file type.i just mean how orther professional software have that files and work on those files while our java program has only a class file no matter how huge the program is..
 
Junilu Lacar
Sheriff
Posts: 11494
180
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, Java uses a few file formats besides the .class file.

.java - convention for marking a plain text file as a Java source file
.jar - a Java archive, basically a .zip file with a specific structure
.war - a Web archive, same as a .zip but for a specific purpose
.ear - an Enterprise archive, again same as a .zip but for a specific purpose
and quite a few more... but I'll let you dig around for those

Trivia: did you know that a .class file always starts with the hex sequence CAFEBABE? A common practice to "mark" files as being of a certain format is to have these marker bytes at the start of the file. If you notice, all the letters in CAFEBABE are also hexadecimal (base 16) digits. But don't take my word for it, go ahead and fire up a hex editor and check out any .class file to see for yourself.
 
Shhailesh Joshi
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok.thanks junilu.
 
Stanley Mungai
Ranch Hand
Posts: 155
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you even spend a minute on the Interne t? the information is everywhere!!!
 
Ivan Jozsef Balazs
Rancher
Posts: 999
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Junilu Lacar wrote:A common practice to "mark" files as being of a certain format is to have these marker bytes at the start of the file.


Unices have the "file" command which guesses the file type based on the contents, on those magic markers.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No extension is guaranteed to mean anything. This site (which took about 2 seconds to find) may give you an idea, but really they are nothing more than conventions.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!