Posts

Create a new domain in Glassfish or Payara

Image
Commands:   C:\Java\Servers\payara-4.1.2.181\payara41\bin>asadmin.bat create-domain --portbase 4900 domain2 C:\Java\Servers\payara-4.1.2.181\payara41\bin>asadmin.bat start-domain domain2 C:\Java\Servers\payara-4.1.2.181\payara41\bin> copy \path\to\existing\*.war ..\glassfish\domains\domain2\autodeploy C:\Java\Servers\payara-4.1.2.181\payara41\bin> copy \path\to\existing\*.ear ..\glassfish\domains\domain2\autodeploy   URL: WAR: http://localhost:4980/JavaEEHelloWorld_war/ EAR Web: http://localhost:4980/JavaEEHelloWorldWeb/   Notes: If any error about JDK/JRE, it is needed to add a setting under glassfish\config\asenv.bat set AS_JAVA=C:\Program Files\Java\jdk1.8.0_161     Screenshots: 1.       Create the domain   2.       Start the domain   3.       Access to the admin site   4.       Deploy the war/ear files   5.    ...

JavaServerFaces & Implementations

Implementations of JSF: -          Apache MyFaces -          Backbase -          BootsFaces -          IBM XPages -          ICEfaces -          JBoss RichFaces -          OmniFaces -          Open Faces -          ADF Faces -          PrimeFaces -          ZK  

Java EE6 Index

1.       Web Technologies a.       Servlet 3.0 b.       JSP 2.2 c.       EL 2.2 d.      JSTL 1.2 e.       JSF 2.0 2.       Web Services Technologies a.       JAX-RPC 1.1 b.       JAX-WS 2.2 c.       JAX-RS 1.1 d.      Web Services Metadata e.       JAXR 1.0 3.       Enterprise Application Technologies a.       DI 1.0 b.       Bean Validation 1.0 c.       EJB 3.1 d.      JPA 2.0 e.       JMS  1.1 f.        JTA 1.1 g.       JavaMail 1.4 h.       JCA 1.6 i.    ...

IDEA 2016 + Struts2 2.5.14.1

Image
1.     Create a project and adding Struts Framework   2.     Fix the library issues for IDEA bugs by adding the missing javassist-3.11.0.GA.jar file to the Libraries and Artifacts .   Before: After:       3.     Change the filter settings for the package change on Struts2 Before: After:   4.     Run the webapp in Tomcat 5.     Check the web page in Browser.  

IDEA 2016 + Struts 1.3.x

Image
<![if !supportLists]> 1.     <![endif]>Create a project and adding Struts Framework <![if !supportLists]> 2.     <![endif]>Define a Tomcat Local Server by specifying the ROOT of tomcat directory. <![if !supportLists]> 3.     <![endif]>Run the defined Tomcat Local Server <![if !supportLists]> 4.     <![endif]>Check the web page in the browser.

Test Posting from Outlook

Here is a test posting sent from Outlook.

Test Email Posting

This is a test for email posting to Java blog.