Question about Computers & Internet

1 Answer

.ear or .war files

I have a project made using HTML & JSP entirely. I want to make and executable file for it.... How can I do that? also how do u put ur website (project) on the internet...., in a way that people can actually log on to it and work...?

Posted by on

  • tripti_mehro Apr 25, 2009

    Thanx for ur help.....
    I have developed the application using netbeans IDE, and ofc Tomcat server is what I've used to run it...
    I'm aware of the technicalities reqd to run a jsp project and know how to configure them.
    What I wanted to know was how to make them accessible for other internet users...and that u've elaborated...
    If you have further more info regarding the "commercial hosting provider", please elaborate it to me....
    and ya then what are .ear & .war files for?

×

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that hasĀ over 10 points.

    Mayor:

    An expert whose answer gotĀ voted for 2 times.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 13 Answers

There's no easy answer to these as there are too many variables to consider. The first issue is to correct you on one point - HTML and JSP files cannot be made into an "executable file" (like a Windows .exe file) but must be placed onto a web server that can process JSP files.

The most common JSP web server is called Tomcat and can be downloaded for free from http://tomcat.apache.org. This application will allow you to run your project on your local computer or network but it is unlikely (difficult or not possible depending on your ISP) you will be able to make this accessible to other Internet users. This is usually only good for testing to see if your application works properly (which you should do before putting it on the Internet)

If want other people to access your web project you will need to find a commercial hosting provider that allows you to host JSP-based websites. These are actually not so common so you will have to look around the Web to find a good one at a good price.

As far as using Tomcat web server is concerned I would refer you to the manual at the website you downloaded it from. With JSP projects it is not always as easy as copying your files to the server and having it work straight away - sometimes you need other library files and sometimes you need to configure the server correctly with details about your web application - all depending on how you created your JSP project (which I don't know enough about).

If you haven't already, I recommend using the free Netbeans application from http://www.netbeans.org to develop your JSP projects as it makes it much easier, comes with a built in JSP web server and there are a lot of good tutorials and instructions at their website to make it easy to get your web application up and running.

Once you get over the initial problem of how to run JSP web applications, using JSP is a lot of fun and very powerful.

Let me know how you get on or if you need any more help.

Posted on Apr 24, 2009

  • Mark Jones Jul 07, 2009

    Sorry for replying to your follow-up comment late. It seems this site does not post when comments are updated.


    I don't really have any experience with, or wide knowledge of commercial Java hosting and I don't want to recommend a host I have not personally experienced. I will assume you have already searched Google for "Java hosting" and compared the results.

    One option that has come up recently since I last posted here is Google's App Engine which now offers Java hosting support. It's not really suitable for commercial hosting but might help with allowing people to test out websites you have developed when they can't access your computer.

    http://code.google.com/appengine/

    EAR and WAR files are just basically your project output files in a ZIP compressed archive (same with JAR files). The only difference is the structure and type of files inside
    inside (following the related Java specifications).

    The purpose of "zipping" them is just to make it easier to transport your files to the server (or to another computer). You can deploy your web application to most Java web servers as either separate files (as your original project) or as EAR or WAR files. The web server will extract the files from the archive automatically when they are needed.

    WAR stands for "Web ARchive" and is used when deploying a Java web application hosted on a Java web server. It will include your Java classes, JSP files, XML files.

    EAR stands for "Enterprise ARchive" and is used when deploying an enterprise-level Java application to a Java application server. It will contain your JAR files, WAR files, and EJBs (Enterprise Java Beans).

    ("Enterprise-level" just means that the application is likely hosted on several tiers, such as a presentation tier for presentation components, a business tier for business logic components, and a data tier for data access components. These sorts of applications are usually developed for large corporations or "enterprises" with many locations connected by a wide area network)

    Check outhttp://java.sun.com/javaee/5/docs/tutori... for more information.

    Hope that helps.
    Mark

×

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

2 Answers

Microsoft Project cannot open the file


1.Open the .mpp file in Microsoft Project 4.x.
2.On the File menu, click Save As.
3.In the File name box, type the file name that you want to save.
4.In the Save as type list, click MPX(4.0).
5.Click Save.
Files in MPX 4.0 format can be opened directly in either Microsoft Project 98 or in Microsoft Project 2000.
If you are still experiencing the issue you can try Project Fix Toolbox https://www.fixtoolbox.com/projectfix.html

Oct 29, 2015 | Microsoft PROJECT Computers & Internet

1 Answer

What is a binary file


A binary file is commonly referred to as a windows executable file.
These files are denoted by the .exe trailing the end of the file name.

These two terms "binary" and "executable" can be used interchangeably in this scenario.

An .exe file or executable is a file that launches a program or installation of a program... thusly called executable, as it executes a command.

Hope this helps!

Cheers!

Feb 23, 2011 | Computers & Internet

3 Answers

War Front Turning Point in Windows 7 cannot find the original cd


download War Front Turning Point patch .this patch can running on any system include win7.This patch did not need original CD just Copy over the cracked executable located in the Crack dir on the DVD to
the \Run dir of your installation directory.
You can download from patch.ali213.net/showpatch/5004.html
This is chinese web site
Patch is 10.8MB. I'm not sure can mail if somebody need it.

Apr 05, 2010 | CDV Software War Front: Turning Point for...

1 Answer

How to executable a foxpro?


Hello,

If you want to create executable from Visual Fox Pro first you need to create a Project.

After you finished all codes, forms, etc. in that Project go to Project Menu and Press Build Option and choose Exe file.

Here is a link with pictures: http://www.alvechurchdata.co.uk/company/fox101exe.html

Mar 13, 2010 | Microsoft Visual FoxPro Professional...

1 Answer

How do i put audio books on my philips SA32xx? what kind of file does it need to be?


File? MP3 is standard. I myself have changed a few audio books as well as radio shows (War of the Worlds by Orson Wells) to MP3 format for my player, and have had perfect results.

Get yourself a decent FREE audio converter2_bing.gif from http://www.koyotesoft.com/indexEn.html

It's user-friendly. Just put your audio book (disc) into a drive, use the free audio converter to "rip" file(s) into a folder (while changing the format), and wait for it to finish.

TIP:
Set it to save "output files" as MP3 at 128-kbs, in whatever folder you choose... this creates a sound and rate of playback that is equal in composition to a store-bought CD. Also, remember to create a seperate folder (or sub-folder) for each project. This keeps files you want saved on your pc orderly.

Place the file(s) onto your player in the manner suggested by it's manufacturer (usually drag & drop). Que it up on the playlist and enjoy!

Jan 31, 2010 | Philips GoGear SA3245/37 Digital Media...

1 Answer

I can not get java on my computer i have tryed to download it and it will not unzip


Hi,
You can get Java here >>>>>>>>>>





http://www.java.com/en/download/manual.jsp





Click on the top file (online) and save the file, it will be a .exe file which means executable file so all you have to do is double left click on the file to install it.



Regards.

Aug 26, 2009 | Computers & Internet

2 Answers

Information about virus.


The CIH virus infects executable files and is spread by executing an infected file. Since many files are executed during normal use of a computer, the CIH virus can infect many files quickly.
There are several variants of the CIH virus. Some activate every month on the 26th, while other variants activate just on April 26th or June 26th. Once the CIH virus activates, the virus attempts to erase the entire hard drive and to overwrite the system BIOS. Some machines may require a new BIOS chip to recover if overwritten by the CIH virus. CIH only affects Win95/98 machines.
More technical details about the CIH virus can be found at the following site.


Go here for more information
http://www.cert.org/incident_notes/IN-99-03.html

Hope this is some good knowledge base for your project.

http://www.virusbtn.com/VirusInformation/cih.html

May 26, 2009 | Computer Security Systems CSS-A760S...

1 Answer

Can't execute .exe


Your Netbook uses Fedora 6 for an operating system which is a version of linus. *nix operating systems do not use file extensions to determine if a file is executable or not. It uses information stored in the file header. Most likely this .exe you want to execute is not a *nix executable file but a Windows executable instead.

Apr 13, 2009 | Acer Aspire One Netbook 8.9" Notebook

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

368 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...