Oracle DBA Forum

Oracle DBA Forum (http://odba.ru/index.php)
-   jee temp (http://odba.ru/forumdisplay.php?f=104)
-   -   The Java EE 6Tutorial (http://odba.ru/showthread.php?t=759)

Marley 07.06.2012 12:41

The Java EE 6Tutorial
 
The Java EE 6Tutorial
http://docs.oracle.com/javaee/6/tutorial/doc/

----------------
Dynamic reloading is not recommended for a production environment,
however, because it may degrade performance. In addition, whenever a reload is done, the
sessions at that time become invalid, and the client must restart the session.
In the GlassFish Server, dynamic reloading is enabled by default.

To Disable or ModifyDynamic Reloading

1) Open the URL http://localhost:4848/ in a browser.
2) Select the GlassFish Server node.
3) Select the Advanced tab.
4) To disable dynamic reloading, deselect the Reload Enabled check box.
5) To change the interval at which applications and modules are checked for code changes and
dynamically reloaded, type a number of seconds in the Reload Poll Interval field.
The default value is 2 seconds.
6) Click the Save button.
-----------------------



В книге --> У меня
as-install-parent -> MIDDELWARE_HOME
as-install -> GLASSFISH_HOME


Создать переменные окружения:

MIDDELWARE_HOME=C:\glassfish3
GLASSFISH_HOME=C:\glassfish3\glassfish


Добавить в Path :
%MIDDELWARE_HOME%\bin;%GLASSFISH_HOME%\bin

Marley 07.06.2012 13:03

Updatetool

CMD> updatetool

- Обновить Java EE 6Tutorial (если имеются обновления)
- Установить ANT

Marley 07.06.2012 13:44

Starting and Stopping the GlassFish Server

Start:
asadmin start-domain --verbose

Stop:
asadmin stop-domain domain1

List applications:
asadmin list-applications

Undeploy
asadmin undeploy hello1

Marley 07.06.2012 13:48

Starting and Stopping the Java DB Server

To start the JavaDB server from the command line, open a terminal window or command
prompt and execute:

asadmin start-database


To stop the JavaDB server from the command line, open a terminal window or command
prompt and execute:

asadmin stop-database

Marley 07.06.2012 13:54

Java Logging Technology
http://docs.oracle.com/javase/6/docs...ing/index.html

Marley 07.06.2012 16:07

examples
C:\glassfish3\glassfish\docs\javaee-tutorial\examples\web\


Текущее время: 02:35. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd. Перевод: zCarot