Skip to main content

NetBeans: how-to make my server central and still use windows as where Netbeans is?

3 replies [Last post]
Bud_Moya
Offline
Joined: 2013-01-17
Points: 0

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Kristian Rink

Hi;

Am Donnerstag, 17. Januar 2013, 19:38:19 schrieb :
> Do I have to have my NetBeans exe (800MB) on my server?

No. The whole NetBeans bundle you downloaded is likely to include Glassfish all
along with a bunch of other things. To have a running Glassfish instance on a
server, you might visit

http://glassfish.java.net/ ,

download and install the bits and get yourself acquainted to using it (there
are some video tutorials in the "Getting started" section, too). Then, all you
need to do is packaging your application in some way (.war, .ear, ...) and
deploy it to the server to have it run there.

Cheers and good luck,
Kristian

Bud_Moya
Offline
Joined: 2013-01-17
Points: 0

My problem is that I don't have room for glassfish. (>100MB) on my server.

I started out just trying to copy my websites to a memory stick. That still remains my goal.

My site has one memory space and 8 sites there. At my desk, I've put my individual sites in a memory space with a GIT. backup system. I can, now, click COMMIT and my NetBeans commits my site and transfers to my server the changed files.

How can I perform the same process but transfer my site to a memory stick? And to my backup disk system?

I need the luck,
Thanks,
Bud_Moya

Kristian Rink

Hey;

Am Freitag, 18. Januar 2013, 20:44:36 schrieb :
> My problem is that I don't have room for glassfish. (>100MB) on my server. I
> started out just trying to copy my websites to a memory stick. That still
> remains my goal. My site has one memory space and 8 sites there.

Does it work for you right now?

Well, it overally depends upon what exactly you want to do, or rather how your
web projects look like:

- If your web site "only" consists of merely "static" things (JavaScript,
HTML, CSS, maybe some images), then you won't at all need Glassfish to do so;
any web server will do. By then, in your case I eventually just would locate
where these files are, on the local disk, and copy them over to the memory
stick using some file manager.

- If your web site includes Java code such as servlets, JSPs and the like
(i.o.w if you have ".java" files somewhere in your project) you will need a
_running_ Glassfish on your server to make any use of it, which in turns will
require you to, on your web server, not just have enough room to install
Glassfish + a Java Development Kit but also to be able to actually run this
server, in other words have remote shell / console access to that machine.

> [...]desk, I've put my individual sites in a memory space with a GIT. backup
> system. I can, now, click COMMIT and my NetBeans commits my site and
> transfers to my server the changed files. How can I perform the same
> process but transfer my site to a memory stick? And to my backup disk
> system?

As far as copying files is concerned, you should be fine copying your project
folder (usually in ~/NetBeansProjects) to some other storage. However, unless
you really are using just a static web project, the result of this will only
hold _source_ files and will not be usable unless in some way built and
deployed to some server.

Cheers,
Kristian