Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Newbie naive questions Regarding glassfish

 
galvin chew
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic