aspose file tools*
The moose likes Web Services and the fly likes Newbie naive questions Regarding glassfish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Newbie naive questions Regarding glassfish" Watch "Newbie naive questions Regarding glassfish" New topic
Author

Newbie naive questions Regarding glassfish

galvin chew
Greenhorn

Joined: Nov 09, 2009
Posts: 1
Hi, im new to glassfish, and 1st time having my own vps.
i was always using tomcat + cpanel to work
found out im rather useless without cpanel.

i have glassfish install on my new vps and i have a few question.

1)can i survive without cpanel?
isit possible to use glassfish only to deploy a war file and it will appear at www.mydomain.com without apache ? just centos and glassfish

2)html deploy at glassfish
isit possible for me to use glassfish like a cpanel, to deploy html and php?

3)mysql?
how can i setup the database in glassfish? for my war file?

4)security at glassfish 2.1.1
we need to harden glassfish?

thankyou very much
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
galvin chew wrote:
1)can i survive without cpanel?

Use the admin console to deploy and manage web applications etc in GlassFish or, if you are using an IDE like Eclipse or NetBeans, the plugin for respective IDE.
The admin console is, per default, at http://localhost:4848
Login/password defaults are: admin/adminadmin


2)html deploy at glassfish
isit possible for me to use glassfish like a cpanel, to deploy html and php?

For PHP in GlassFish, look at the following two links. I have no experience in this area:
http://php-java-bridge.sourceforge.net/pjb/
https://lrwpinjava.dev.java.net/


3)mysql?
how can i setup the database in glassfish? for my war file?

Well, of course!
Again in the admin console, go to Resources -> JDBC.
There you can choose to create a JDBC Resource or a Connection Pool which later can be retrieved from within your application using a JNDI lookup.

At least answers to some of your questions...
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Newbie naive questions Regarding glassfish