{"id":895,"date":"2012-02-23T01:34:00","date_gmt":"2012-02-23T01:34:00","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/2012\/10\/set-up-a-java-ee-6-development-environment.html"},"modified":"2012-10-21T22:56:48","modified_gmt":"2012-10-21T22:56:48","slug":"set-up-java-ee-6-development","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html","title":{"rendered":"Set up a Java EE 6 development environment"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left\">\n<div dir=\"ltr\" style=\"text-align: left\">\n<div dir=\"ltr\" style=\"text-align: left\">\n<div dir=\"ltr\" style=\"text-align: left\">This tutorial explains in short how to set-up a typical environment to develop Java EE 6 based applications. There is no prerequesite to this tutorial other then a working Windows XP client with sufficient CPU power and memory. During the tutorial we will need to install the following components:<\/p>\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Java 6 JDK Update 26<\/span><\/li>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Eclipse IDE for Java EE Developers 3.6.2 (Helios)<\/span><\/li>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Maven 3.0.3<\/span><\/li>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Glassfish 3.1<\/span><\/li>\n<\/ul>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\"><\/span><br \/>\nI suggest that you create a folder where you drop all the stuff we need to set-up the environment. My Folder is C:\\jee6. I will call that &lt;dev_home&gt; when I refer to it.<\/div>\n<blockquote>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\">Note: In <a href=\"http:\/\/www.javacodegeeks.com\/2012\/02\/set-up-spring-3-development-environment.html\">one of my recent posts<\/a> I explained how to set-up a Spring environment. This process is very simmilar, therefore I will only explain deviations in this Java EE set-up.<\/span><\/div>\n<\/blockquote>\n<div class=\"MsoNormal\"><span class=\"Apple-style-span\" style=\"font-family: inherit\">In this tutorial we will create a little demo project. The sample application uses <span style=\"background-color: #cfe2f3\">JSF 2.0, CDI 1.0, EJB 3.1 and JPA 2.0<\/span> (persistence unit included). The demo can be used to start development of your own enterprise project.<\/span><br \/>\n<span class=\"Apple-style-span\" style=\"font-family: inherit\"><br \/>\n<strong><span lang=\"EN-GB\" style=\"font-family: inherit\">Installing Java 6 JDK<\/span><\/strong><\/span><\/div>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\"><br \/>\n<\/span><\/div>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\">See <a href=\"http:\/\/www.javacodegeeks.com\/2012\/02\/set-up-spring-3-development-environment.html#jdk6\">this blog post<\/a>.<\/span><br \/>\n<span lang=\"EN-GB\" style=\"font-family: inherit\"><br \/>\n<\/span><\/div>\n<div class=\"MsoNormal\"><strong><span lang=\"EN-GB\" style=\"font-family: inherit\">Installing Eclipse IDE for Java EE Developers<\/span><\/strong><\/div>\n<div class=\"MsoNormal\"><span style=\"font-family: inherit\"><br \/>\n<\/span><\/div>\n<p><span lang=\"EN-GB\" style=\"font-family: inherit\">See <a href=\"http:\/\/www.javacodegeeks.com\/2012\/02\/set-up-spring-3-development-environment.html#eclipse\">this blog post<\/a>.<\/span><br \/>\n<span lang=\"EN-GB\" style=\"font-family: inherit\"><br \/>\n<strong><span lang=\"EN-GB\" style=\"font-family: inherit\">Creating the Eclipse Projects using Maven 3<\/span><\/strong><\/span><\/div>\n<div><span style=\"font-family: inherit\"><br \/>\n<\/span><\/div>\n<p><span style=\"font-family: inherit\">See my <a href=\"http:\/\/www.javacodegeeks.com\/2012\/02\/set-up-spring-3-development-environment.html#maven\">Spring blog<\/a> where I have explained how to set-up Maven and create a Spring project. The process to create a Java EE 6 project is almost equivalent. The only difference in setting up a Java EE environment is the archetype to use to create the Eclipse Project. When you create the Eclipse project use the following Maven command:<\/span><\/p>\n<blockquote>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: 'Courier New', Courier, monospace\">mvn archetype:generate -DarchetypeGroupId=<span style=\"background-color: #cfe2f3\">org.jboss.weld.archetypes<\/span> -DarchetypeArtifactId=<span style=\"background-color: #cfe2f3\">weld-jsf-jee<\/span> -DarchetypeVersion=<span style=\"background-color: #cfe2f3\">1.0.0-BETA1 <\/span>-DgroupId=<span style=\"background-color: #cfe2f3\">com.mycompany.jeeapp<\/span> -DartifactId=<span style=\"background-color: #cfe2f3\">jee-app-weld <\/span>-Dversion=1.0-SNAPSHOT -DinteractiveMode=false<\/span><span lang=\"EN-GB\" style=\"font-family: 'Courier New', Courier, monospace\"><\/span><\/div>\n<\/blockquote>\n<blockquote>\n<div style=\"background-color: #cccccc\"><span class=\"Apple-style-span\" style=\"font-family: inherit\">Note: I have also marked the differences in my Spring post to make it obvious where the Spring specifics are during Maven set-up and project creation.<\/span><\/div>\n<\/blockquote>\n<blockquote>\n<div style=\"background-color: #cccccc\"><span class=\"Apple-style-span\" style=\"font-family: inherit\">Note: At the time this blog post was created the weld-jsf-jee archetype was in beta state. You may use the 1.0 version when it is available. See <a href=\"http:\/\/mvnrepository.com\/artifact\/org.jboss.weld.archetypes\">here<\/a> to find out if there is a newer version of this archetype. <\/span><\/div>\n<\/blockquote>\n<p><span class=\"Apple-style-span\" style=\"font-family: inherit\"><br \/>\n<span class=\"Apple-style-span\" style=\"font-family: inherit\"><strong><span lang=\"EN-GB\" style=\"font-family: inherit\">Installing Glassfish 3.1<\/span><\/strong><\/span><\/span><\/div>\n<div class=\"MsoNormal\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><span style=\"font-family: inherit\"><br \/>\n<\/span><\/span><\/div>\n<div class=\"MsoNormal\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><span lang=\"EN-GB\" style=\"font-family: inherit\">In a Java EE project you need a Java EE server. At the time this post was created Glassfish 3.1 was the only server available that provided the full Java EE 6 stack. Therefore I opt to use Glassfish. To Intall Glassfish to your local machine do the following:<\/span><\/span><\/p>\n<div style=\"background-color: #cfe2f3;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><span lang=\"EN-GB\" style=\"font-family: inherit\">Download Glassfish 3.1<\/span><\/span><\/span><\/span><\/span><\/div>\n<\/div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">  <span lang=\"EN-GB\" style=\"font-family: inherit\">Go to <a href=\"http:\/\/glassfish.java.net\/public\/downloadsindex.html#top\">Glassfish Download page<\/a>.<\/span><\/span><\/li>\n<p><span class=\"Apple-style-span\" style=\"font-family: inherit\"><\/p>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Select Download GlassFish Server Open Source Edition 3.1.<\/span><\/li>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Then choose the Zip-Archive glassfish-3.1.zip (GlassFish Server 3.1 Open Source Edition Full Platform)<\/span><\/li>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">In your &lt;dev_home&gt; create a folder called glassfish.<\/span><\/li>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Unzip the Zip-Archive here<\/span><\/li>\n<p><\/span><\/ul>\n<div style=\"background-color: #cfe2f3;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><span lang=\"EN-GB\" style=\"background-color: #cfe2f3;font-family: inherit\">Configure Eclipse<\/span><\/span><\/div>\n<ul><span class=\"Apple-style-span\" style=\"font-family: inherit\"><span style=\"background-color: #cfe2f3;font-family: inherit\"> <\/span><\/span><\/ul>\n<p><span class=\"Apple-style-span\" style=\"font-family: inherit\"><span lang=\"EN-GB\" style=\"font-family: inherit\">After you successfully downloaded a Glassfish copy you need to configure your Eclipse IDE to use Glassfish 3.1 as the target runtime environment. To do this follow these steps:<\/span><\/span><\/div>\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Open Eclipse.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-v0ALMgh900Q\/Tz-wjrpnuoI\/AAAAAAAAAQg\/doMD9UsNoYY\/s1600\/1.jpg\"><img decoding=\"async\" border=\"0\" height=\"174\" src=\"http:\/\/3.bp.blogspot.com\/-v0ALMgh900Q\/Tz-wjrpnuoI\/AAAAAAAAAQg\/doMD9UsNoYY\/s320\/1.jpg\" width=\"320\" \/><\/a><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><\/div>\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">In t<\/span>he Eclipse menu bar select &#8220;Window &gt; Show View &gt; Servers&#8221;.<\/li>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">In the &#8220;Servers&#8221; view right click on the white space and select <span style=\"background-color: white\">&#8220;New &gt; Server&#8221;.<\/span><\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-c3O6cg4N3TQ\/Tz-w0N3bN8I\/AAAAAAAAAQo\/RKc-gC_BIso\/s1600\/New+Server.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/2.bp.blogspot.com\/-c3O6cg4N3TQ\/Tz-w0N3bN8I\/AAAAAAAAAQo\/RKc-gC_BIso\/s320\/New+Server.jpg\" width=\"303\" \/><\/a><\/div>\n<div class=\"MsoNormal\"><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Select the Link &#8220;Download additional server adapters&#8221;. Eclipse now downloads available server adapters.<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"MsoNormal\">\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/4.bp.blogspot.com\/-k6tA59JDI8c\/Tz-w-8oDWhI\/AAAAAAAAAQw\/8q9KCZXUQ-8\/s1600\/Install+New+Extension.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/4.bp.blogspot.com\/-k6tA59JDI8c\/Tz-w-8oDWhI\/AAAAAAAAAQw\/8q9KCZXUQ-8\/s320\/Install+New+Extension.jpg\" width=\"266\" \/><\/a><\/div>\n<p><span lang=\"EN-GB\" style=\"font-family: inherit\"><br \/>\n<\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/4.bp.blogspot.com\/-mxrvNt1W2zc\/Tz-xKPToDBI\/AAAAAAAAAQ4\/SL4ZFsIJvtE\/s1600\/4.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/4.bp.blogspot.com\/-mxrvNt1W2zc\/Tz-xKPToDBI\/AAAAAAAAAQ4\/SL4ZFsIJvtE\/s320\/4.jpg\" width=\"266\" \/><\/a><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-WxLlBTuwW8k\/Tgbo5KE9R6I\/AAAAAAAAAHc\/5CbKCyUoh3s\/s1600\/Install+New+Extension_Select+Glassfish.jpg\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><\/span><\/a><\/div>\n<div class=\"MsoNormal\"><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Select &#8220;Oracle Glassfish Server Tools&#8221; from the list.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/-Po4b5ywpmrI\/Tz-xYqVHazI\/AAAAAAAAARA\/24BypESBbG8\/s1600\/5.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/1.bp.blogspot.com\/-Po4b5ywpmrI\/Tz-xYqVHazI\/AAAAAAAAARA\/24BypESBbG8\/s320\/5.jpg\" width=\"266\" \/><\/a><\/div>\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-8i_vUVCH0rE\/TgbpK8LCsXI\/AAAAAAAAAHk\/rRyZVdGcUh0\/s1600\/License.jpg\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><\/span><\/a><\/div>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\"><\/span><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Accept the license and select &#8220;Finish&#8221;. The download begins.<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/4.bp.blogspot.com\/-_0AN8N_I3yM\/TgbpDg97GvI\/AAAAAAAAAHg\/GYOPyoXbwpg\/s1600\/Download.jpg\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><\/span><\/a><\/div>\n<div class=\"MsoNormal\">\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-hmWywQWuixk\/Tz-xhYhl2cI\/AAAAAAAAARI\/JtoJT2u2uPs\/s1600\/6.jpg\"><img decoding=\"async\" border=\"0\" height=\"140\" src=\"http:\/\/3.bp.blogspot.com\/-hmWywQWuixk\/Tz-xhYhl2cI\/AAAAAAAAARI\/JtoJT2u2uPs\/s320\/6.jpg\" width=\"320\" \/><\/a><\/div>\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-Ky0zLkeGIhk\/Tz-xoQDpCtI\/AAAAAAAAARQ\/t-iJQATBhhQ\/s1600\/7.jpg\"><img decoding=\"async\" border=\"0\" height=\"87\" src=\"http:\/\/2.bp.blogspot.com\/-Ky0zLkeGIhk\/Tz-xoQDpCtI\/AAAAAAAAARQ\/t-iJQATBhhQ\/s320\/7.jpg\" width=\"320\" \/><\/a><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/-CetvTMvwBTo\/TgbpVqb9k0I\/AAAAAAAAAHo\/Rwa2M99z4FE\/s1600\/Restart.jpg\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><\/span><\/a><\/div>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\"> <\/span><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\"> Restart Eclipse to activate the new adapter. When you re-enter Eclipse you see the Glassfish server tools front page.<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-B1MMyE-iAFw\/Tz-xvstgf_I\/AAAAAAAAARY\/MdR9ugYjYwY\/s1600\/8.jpg\"><img decoding=\"async\" border=\"0\" height=\"240\" src=\"http:\/\/2.bp.blogspot.com\/-B1MMyE-iAFw\/Tz-xvstgf_I\/AAAAAAAAARY\/MdR9ugYjYwY\/s320\/8.jpg\" width=\"320\" \/><\/a><\/div>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\"><\/span><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Close that view and go to the Workbench.<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/-fd9MuoeEkhs\/Tz-x8FwcedI\/AAAAAAAAARg\/lWk8NrWAda8\/s1600\/9.jpg\"><img decoding=\"async\" border=\"0\" height=\"174\" src=\"http:\/\/1.bp.blogspot.com\/-fd9MuoeEkhs\/Tz-x8FwcedI\/AAAAAAAAARg\/lWk8NrWAda8\/s320\/9.jpg\" width=\"320\" \/><\/a><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">In Eclipse go to the &#8220;Servers&#8221; view (remember: window available at the bottom) and right click in the white space, then select &#8220;New &gt; Server&#8221;.<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/-N7ZkZDIJ3qs\/Tz-yIrt-U6I\/AAAAAAAAARo\/Q4e8GOzC4ZY\/s1600\/10.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/1.bp.blogspot.com\/-N7ZkZDIJ3qs\/Tz-yIrt-U6I\/AAAAAAAAARo\/Q4e8GOzC4ZY\/s320\/10.jpg\" width=\"303\" \/><\/a><\/div>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\"><\/span><\/div>\n<div class=\"MsoNormal\"><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Select GlassFish Server Open Source Edition 3 (Java EE 6) and select &#8220;Next&#8221;<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/-3W537qb00bQ\/Tz-ya_G58TI\/AAAAAAAAARw\/H_IrOohfJC0\/s1600\/11.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/1.bp.blogspot.com\/-3W537qb00bQ\/Tz-ya_G58TI\/AAAAAAAAARw\/H_IrOohfJC0\/s320\/11.jpg\" width=\"303\" \/><\/a><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Select your home directory for the GlassFish instance you downloaded, that should be &lt;dev_home&gt;\/glassfish\/glassfish.<\/span><\/li>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Select &#8220;Finish&#8221; if possible. Otherwise, you may have to specify a domain. In that case select &#8220;Next&#8221;.The domain should be preselected, then click &#8220;Finish&#8221;.<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-LZ-o_kOwxq0\/Tgb123O3AlI\/AAAAAAAAAIc\/yCKkTXkHrQ0\/s1600\/New+Server+Glassfish+Domain.jpg\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><\/span><\/a><\/div>\n<div class=\"MsoNormal\">\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/-ckSYqHgLxwY\/Tz-ypDLT7eI\/AAAAAAAAAR4\/TXE8J7TA72w\/s1600\/12.jpg\"><img decoding=\"async\" border=\"0\" height=\"270\" src=\"http:\/\/1.bp.blogspot.com\/-ckSYqHgLxwY\/Tz-ypDLT7eI\/AAAAAAAAAR4\/TXE8J7TA72w\/s320\/12.jpg\" width=\"320\" \/><\/a><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\">\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-PTb4vcdFeWU\/Tz-yt582IrI\/AAAAAAAAASA\/48MT8tuetss\/s1600\/13.jpg\"><img decoding=\"async\" border=\"0\" height=\"240\" src=\"http:\/\/2.bp.blogspot.com\/-PTb4vcdFeWU\/Tz-yt582IrI\/AAAAAAAAASA\/48MT8tuetss\/s320\/13.jpg\" width=\"320\" \/><\/a><\/div>\n<\/div>\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">You should see in the &#8220;Servers&#8221; view that Glassfish was added.<\/span><\/li>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">To start the server right click on Glassfish server and select &#8220;Debug&#8221;.&nbsp;<\/span><\/li>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Go to the &#8220;Console&#8221; view (another window available at the bottom in the Eclipse workbench) and see how GlassFish talks to you :-). You may need to change into the server.log to see the log entries displayed. I have higlighted the toolbar button where you can change to the server log. To maximize and minimize the &#8220;Console&#8221; view you need to double click the &#8220;Console&#8221; tab.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-VBhrx4_2vrE\/Tz-y566qEbI\/AAAAAAAAASI\/zj_TwENYpjE\/s1600\/14.jpg\"><img decoding=\"async\" border=\"0\" height=\"240\" src=\"http:\/\/2.bp.blogspot.com\/-VBhrx4_2vrE\/Tz-y566qEbI\/AAAAAAAAASI\/zj_TwENYpjE\/s320\/14.jpg\" width=\"320\" \/><\/a><\/div>\n<ul><\/ul>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\"> <\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><\/div>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\"> <\/span><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">&nbsp;To verify installation go to your web browser and enter http:\/\/localhost:8080.<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-b1E2iIfnhH4\/Tz-zEcF6zwI\/AAAAAAAAASQ\/HLlcAqW4I1s\/s1600\/15.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/2.bp.blogspot.com\/-b1E2iIfnhH4\/Tz-zEcF6zwI\/AAAAAAAAASQ\/HLlcAqW4I1s\/s320\/15.jpg\" width=\"310\" \/><\/a><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">Select the Link &#8220;goto the Administration Console&#8221; to enter the Admin Console.<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-z5MYCzN1GOs\/Tz-zMAuCwLI\/AAAAAAAAASY\/Im30kU5EZOE\/s1600\/16.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/2.bp.blogspot.com\/-z5MYCzN1GOs\/Tz-zMAuCwLI\/AAAAAAAAASY\/Im30kU5EZOE\/s320\/16.jpg\" width=\"310\" \/><\/a><\/div>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\"><\/span><\/div>\n<div class=\"MsoNormal\"><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span lang=\"EN-GB\" style=\"font-family: inherit\">You can manage GlassFish in the Admin Console. Take a look around.<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\">Your environment is complete now. It&#8217;s time to get the demo application going.<\/span><\/div>\n<div class=\"MsoNormal\"><span lang=\"EN-GB\" style=\"font-family: inherit\"> <\/span><\/div>\n<div class=\"MsoNormal\"><\/div>\n<div class=\"MsoNormal\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><strong><span lang=\"EN-GB\">Starting and using the demo application<\/span><\/strong>  <\/span><div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<div class=\"MsoNormal\"><span style=\"font-family: inherit\">In one of the previous steps we have created a Java EE based application with Maven. We have to import it into Eclipse. You can do this as follows:<\/span><\/p>\n<div style=\"background-color: #cfe2f3;text-align: center\"><span style=\"font-family: inherit\">Import your Java EE application <\/span><\/div>\n<ul>\n<li><span style=\"font-family: inherit\">Open Eclipse.<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-n2m-feOBoqM\/Tz-zW3eEZGI\/AAAAAAAAASg\/AI-nnxRfQdI\/s1600\/17.jpg\"><img decoding=\"async\" border=\"0\" height=\"240\" src=\"http:\/\/3.bp.blogspot.com\/-n2m-feOBoqM\/Tz-zW3eEZGI\/AAAAAAAAASg\/AI-nnxRfQdI\/s320\/17.jpg\" width=\"320\" \/><\/a><\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span style=\"font-family: inherit\">In the menu bar select &#8220;File &gt; Import&#8221;.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/--A60CjRkZnw\/Tz-zfqP1CjI\/AAAAAAAAASo\/ojxyXViwq2I\/s1600\/18.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/1.bp.blogspot.com\/--A60CjRkZnw\/Tz-zfqP1CjI\/AAAAAAAAASo\/ojxyXViwq2I\/s320\/18.jpg\" width=\"305\" \/><\/a><\/div>\n<\/div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Enter &#8220;Existing&#8221; into &#8220;Select an import source&#8221;.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/4.bp.blogspot.com\/-VfRy-JfXWVU\/Tz-zqbPHL7I\/AAAAAAAAASw\/wK2ayIKtKaw\/s1600\/19.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/4.bp.blogspot.com\/-VfRy-JfXWVU\/Tz-zqbPHL7I\/AAAAAAAAASw\/wK2ayIKtKaw\/s320\/19.jpg\" width=\"305\" \/><\/a><\/div>\n<\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Select &#8220;Existing Projects into Workspace&#8221; and click &#8220;Next&#8221;.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/4.bp.blogspot.com\/-3cmFtaSwIr4\/Tz-zzMOj1zI\/AAAAAAAAAS4\/IdCEQ2gGWeg\/s1600\/20.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/4.bp.blogspot.com\/-3cmFtaSwIr4\/Tz-zzMOj1zI\/AAAAAAAAAS4\/IdCEQ2gGWeg\/s320\/20.jpg\" width=\"271\" \/><\/a><\/div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Select the root directory of the application you have just created with Maven. This should be &lt;dev_home&gt;\\workspace\\jee-app-weld. Then select &#8220;Finish&#8221;.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-tZD8VAouAXY\/Tz-0FJ15-II\/AAAAAAAAATA\/Zsq2HPDbEeE\/s1600\/21.jpg\"><img decoding=\"async\" border=\"0\" height=\"240\" src=\"http:\/\/2.bp.blogspot.com\/-tZD8VAouAXY\/Tz-0FJ15-II\/AAAAAAAAATA\/Zsq2HPDbEeE\/s320\/21.jpg\" width=\"320\" \/><\/a><\/div>\n<\/div>\n<div class=\"MsoNormal\">\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">The project will be imported. You will notice when you go to the &#8220;Markers&#8221; view that there are several errors. We have to fix those. Right click the Project &#8220;jee-app-weld&#8221; and select &#8220;Properties&#8221; from the context menu.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-4f7FAQbEZ3E\/Tz-0Oj1iluI\/AAAAAAAAATI\/kFtvI7s4gLA\/s1600\/22.jpg\"><img decoding=\"async\" border=\"0\" height=\"221\" src=\"http:\/\/2.bp.blogspot.com\/-4f7FAQbEZ3E\/Tz-0Oj1iluI\/AAAAAAAAATI\/kFtvI7s4gLA\/s320\/22.jpg\" width=\"320\" \/><\/a><\/div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Goto &#8220;Targeted Runtimes&#8221;.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-Nhzr1Hd83yc\/Tz-0nDnZ4CI\/AAAAAAAAATQ\/Q0hYMTzUpOo\/s1600\/23.jpg\"><img decoding=\"async\" border=\"0\" height=\"228\" src=\"http:\/\/3.bp.blogspot.com\/-Nhzr1Hd83yc\/Tz-0nDnZ4CI\/AAAAAAAAATQ\/Q0hYMTzUpOo\/s320\/23.jpg\" width=\"320\" \/><\/a><\/div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Select GlassFish and then press &#8220;OK&#8221;. This should clear all compile errors in your &#8220;Markers&#8221; view<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/-hc48Re8I9l4\/Tgb3W0XirAI\/AAAAAAAAAIk\/hNFpj9YBUgA\/s1600\/Compile+clean+eclipse.jpg\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><\/span><\/a><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/4.bp.blogspot.com\/-Llr6UjyzsZg\/Tz-0ulKOqdI\/AAAAAAAAATY\/ad-ZgL8PhK4\/s1600\/24.jpg\"><img decoding=\"async\" border=\"0\" height=\"240\" src=\"http:\/\/4.bp.blogspot.com\/-Llr6UjyzsZg\/Tz-0ulKOqdI\/AAAAAAAAATY\/ad-ZgL8PhK4\/s320\/24.jpg\" width=\"320\" \/><\/a><\/div>\n<div style=\"background-color: #cfe2f3;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit\">Bugfix the demo application<\/span><\/div>\n<p><span class=\"Apple-style-span\" style=\"font-family: inherit\">Unfortunately, when this post was written the demo application archetype was in beta state. So you have to do some stuff to make it functioning properly. It&#8217;s a good exercise to get used to Eclipse.<\/span><br \/>\n<span class=\"Apple-style-span\" style=\"font-family: inherit\"><br \/>\n<\/span><\/p>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">In Eclipse, press Ctrl+Shift+R. The &#8220;Open Resource&#8221; dialog shows up.<\/span><\/li>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">In &#8220;Select an Item&#8221; enter &#8220;persistence.xml&#8221;, select it in the list below and press &#8220;Open&#8221;.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-nu27-6XXtbY\/Tz-074lVfCI\/AAAAAAAAATg\/JAyg-Nb7zI0\/s1600\/25.jpg\"><img decoding=\"async\" border=\"0\" height=\"266\" src=\"http:\/\/3.bp.blogspot.com\/-nu27-6XXtbY\/Tz-074lVfCI\/AAAAAAAAATg\/JAyg-Nb7zI0\/s320\/25.jpg\" width=\"320\" \/><\/a><\/div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Repeat the last two steps for the file &#8220;home.xhtml&#8221;.&nbsp;<\/span><\/li>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">You should have opened two files now: persistence.xml and home.xhtml<\/span><\/li>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Look at my fixed persistence.xml file and make yours look the same. <\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/-OUf1FD2dwSw\/Tz-1S3wH3OI\/AAAAAAAAATo\/ZlDw9myiHb4\/s1600\/26.jpg\"><img decoding=\"async\" border=\"0\" height=\"174\" src=\"http:\/\/1.bp.blogspot.com\/-OUf1FD2dwSw\/Tz-1S3wH3OI\/AAAAAAAAATo\/ZlDw9myiHb4\/s320\/26.jpg\" width=\"320\" \/><\/a><\/div>\n<p><span lang=\"EN-GB\" style=\"font-family: inherit\"> <\/span><\/div>\n<div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">I have changed the jta-data-source to the GlassFish setting (default was JBoss) and I have added the property eclipselink.ddl-generation.output-mode to the &#8220;Properties for EclipseLink&#8221; section. The property makes sure that the database is created on application start-up.&nbsp;<\/span><\/li>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Save your changes with Ctrl+S (or in the menu bar File &gt; Save). <\/span><\/li>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">The second file to adopt is home.xhtml. Here I have changed <tt>&lt;h:dataTable var=\"_widget\" value=\"#widgets\"&gt; <\/tt>to <tt>&lt;h:dataTable var=\"_widget\" value=\"<span style=\"background-color: #cfe2f3\">#{widgets}<\/span>\"&gt;.<\/tt><\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/-grZ5YRMzLDo\/Tz-1dyOi0OI\/AAAAAAAAATw\/kLe3Ixk7LZI\/s1600\/27.jpg\"><img decoding=\"async\" border=\"0\" height=\"174\" src=\"http:\/\/1.bp.blogspot.com\/-grZ5YRMzLDo\/Tz-1dyOi0OI\/AAAAAAAAATw\/kLe3Ixk7LZI\/s320\/27.jpg\" width=\"320\" \/><\/a><\/div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Save your changes with Ctrl+S (or in the menu bar File &gt; Save).<\/span><\/li>\n<\/ul>\n<\/div>\n<div>\n<ul><\/ul>\n<blockquote>\n<div style=\"background-color: #cccccc\"><span class=\"Apple-style-span\" style=\"font-family: inherit\">Note: see <a href=\"http:\/\/www.tutorials.de\/enterprise-java-jee-j2ee-spring-co\/310001-jpa-toplink-derby-drop-create-tables-funktioniert-nicht.html\">this blog entry about persistence.xml<\/a> and <a href=\"http:\/\/seamframework.org\/Community\/ErrorInArchetype\">this blog entry about home.xhtml<\/a> for additional info for the solutions explained above. <\/span><\/div>\n<\/blockquote>\n<\/div>\n<div>\n<div style=\"background-color: #cfe2f3;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit\">Configure Eclipse for deployment<\/span><\/div>\n<p><span class=\"Apple-style-span\" style=\"font-family: inherit\">We are almost done. Now, you need to explain Eclipse that the GlassFish server is the deployment container. You do this as follows:<\/span><\/p>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">In the &#8220;Servers&#8221; view right click on the Glassfish server and select &#8220;Add and Remove&#8221;.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/-pb22t5Rzn8c\/Tz-1om7vxSI\/AAAAAAAAAT4\/GL9QQMhnPNA\/s1600\/28.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/1.bp.blogspot.com\/-pb22t5Rzn8c\/Tz-1om7vxSI\/AAAAAAAAAT4\/GL9QQMhnPNA\/s320\/28.jpg\" width=\"309\" \/><\/a><\/div>\n<\/div>\n<div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Select your application and press &#8220;Add&#8221; to move it in the right section.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-vyRl-VXLWzA\/TgcfKdaGntI\/AAAAAAAAAJA\/HDTl9CV8sxY\/s1600\/add+and+remove.jpg\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><\/span><\/a><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-OKNVFQxSLOs\/Tz-11QOT-TI\/AAAAAAAAAUA\/vJ7lw2l00nI\/s1600\/29.jpg\"><img decoding=\"async\" border=\"0\" height=\"320\" src=\"http:\/\/2.bp.blogspot.com\/-OKNVFQxSLOs\/Tz-11QOT-TI\/AAAAAAAAAUA\/vJ7lw2l00nI\/s320\/29.jpg\" width=\"309\" \/><\/a><\/div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\"> Press &#8220;Finish&#8221;.<\/span><\/li>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">The last thing to do is to make sure Glassfish starts the integrated Derby database, so you can use the default JDBC datasource. In the menu bar go to &#8220;Window &gt; Preferences&#8221;.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/4.bp.blogspot.com\/-6mN2z8aiES4\/Tz-1_cDtLNI\/AAAAAAAAAUI\/gctmqw8Fo9s\/s1600\/30.jpg\"><img decoding=\"async\" border=\"0\" height=\"279\" src=\"http:\/\/4.bp.blogspot.com\/-6mN2z8aiES4\/Tz-1_cDtLNI\/AAAAAAAAAUI\/gctmqw8Fo9s\/s320\/30.jpg\" width=\"320\" \/><\/a><\/div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Select &#8220;GlassFish Preferences&#8221; and select the checkbox to enable the JavaDB when the server starts. Then press OK.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit;margin-left: 1em;margin-right: 1em\"><\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-jZZodJBgNNM\/Tz-2J0jdHEI\/AAAAAAAAAUQ\/gCTctNbe73E\/s1600\/31.jpg\"><img decoding=\"async\" border=\"0\" height=\"200\" src=\"http:\/\/2.bp.blogspot.com\/-jZZodJBgNNM\/Tz-2J0jdHEI\/AAAAAAAAAUQ\/gCTctNbe73E\/s320\/31.jpg\" width=\"320\" \/><\/a><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\">\n<\/div>\n<p><span class=\"Apple-style-span\" style=\"font-family: inherit\">That&#8217;s it already in terms of preparing Eclipse. Now start the demo application.<\/span><\/p>\n<div style=\"background-color: #cfe2f3;text-align: center\"><span class=\"Apple-style-span\" style=\"font-family: inherit\">Starting and verifying the demo application<\/span><\/div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Select the Glassfish server in the &#8220;Servers&#8221; view and richt click into the context menu, then select &#8220;Debug&#8221; (make sure the Server is not running already, if so stop the Server first).<\/span><\/li>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">See the &#8220;Console&#8221; view to verify that the application started properly. Again: double click the &#8220;Console&#8221; tab to maximize and minimize the view in the workbench. Make sure you see the server.log.<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-zs_hq8vYEns\/Tz-2XFxz6KI\/AAAAAAAAAUY\/Y9BZiIHJ5XI\/s1600\/32.jpg\"><img decoding=\"async\" border=\"0\" height=\"174\" src=\"http:\/\/2.bp.blogspot.com\/-zs_hq8vYEns\/Tz-2XFxz6KI\/AAAAAAAAAUY\/Y9BZiIHJ5XI\/s320\/32.jpg\" width=\"320\" \/><\/a><\/div>\n<ul>\n<li><span class=\"Apple-style-span\" style=\"font-family: inherit\">Go to your web browser and enter http:\/\/localhost:8080\/jee-app-weld<\/span><\/li>\n<\/ul>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-qzQEwBXkZrM\/Tgch20pTJ1I\/AAAAAAAAAJQ\/7pX6-iFYS8M\/s1600\/hello+world.jpg\"><span class=\"Apple-style-span\" style=\"font-family: inherit\"><\/span><\/a><\/div>\n<\/div>\n<div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/1.bp.blogspot.com\/-fujxaCFn2m0\/Tz-2h8Pm20I\/AAAAAAAAAUg\/RPDsFBJ0aiw\/s1600\/33.jpg\"><img decoding=\"async\" border=\"0\" height=\"174\" src=\"http:\/\/1.bp.blogspot.com\/-fujxaCFn2m0\/Tz-2h8Pm20I\/AAAAAAAAAUg\/RPDsFBJ0aiw\/s320\/33.jpg\" width=\"320\" \/><\/a><\/div>\n<p><span class=\"Apple-style-span\" style=\"font-family: inherit\">You&#8217;re done. You have created your own Java EE development environment. From here look around a litlle and build your own project.<\/span><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-NRFMy3IGPaU\/Tz-2pKbeVwI\/AAAAAAAAAUo\/YRrJFxcY9xQ\/s1600\/34.JPG\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/3.bp.blogspot.com\/-NRFMy3IGPaU\/Tz-2pKbeVwI\/AAAAAAAAAUo\/YRrJFxcY9xQ\/s1600\/34.JPG\" \/><\/a><\/div>\n<p><strong><i>Reference: <\/i><\/strong>&#8220;Setting up a Java EE 6 development environment&#8221; from our <a href=\"http:\/\/www.javacodegeeks.com\/p\/jcg.html\">JCG partner<\/a>&nbsp;<span class=\"Apple-style-span\" style=\"font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif\"><span class=\"Apple-style-span\" style=\"font-size: 14px;line-height: 18px\">Niklas<\/span><\/span>.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial explains in short how to set-up a typical environment to develop Java EE 6 based applications. There is no prerequesite to this tutorial other then a working Windows XP client with sufficient CPU power and memory. During the tutorial we will need to install the following components: Java 6 JDK Update 26 Eclipse &hellip;<\/p>\n","protected":false},"author":3,"featured_media":148,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[289],"class_list":["post-895","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-java-ee6"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Set up a Java EE 6 development environment - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"This tutorial explains in short how to set-up a typical environment to develop Java EE 6 based applications. There is no prerequesite to this tutorial\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Set up a Java EE 6 development environment - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"This tutorial explains in short how to set-up a typical environment to develop Java EE 6 based applications. There is no prerequesite to this tutorial\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2012-02-23T01:34:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2012-10-21T22:56:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ilias Tsagklis\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ilias Tsagklis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html\"},\"author\":{\"name\":\"Ilias Tsagklis\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/9a83496b285d30c61e8a674625c1350e\"},\"headline\":\"Set up a Java EE 6 development environment\",\"datePublished\":\"2012-02-23T01:34:00+00:00\",\"dateModified\":\"2012-10-21T22:56:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html\"},\"wordCount\":1378,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/java-logo.jpg\",\"keywords\":[\"Java EE6\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html\",\"name\":\"Set up a Java EE 6 development environment - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/java-logo.jpg\",\"datePublished\":\"2012-02-23T01:34:00+00:00\",\"dateModified\":\"2012-10-21T22:56:48+00:00\",\"description\":\"This tutorial explains in short how to set-up a typical environment to develop Java EE 6 based applications. There is no prerequesite to this tutorial\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/java-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/java-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/02\\\/set-up-java-ee-6-development.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Set up a Java EE 6 development environment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/9a83496b285d30c61e8a674625c1350e\",\"name\":\"Ilias Tsagklis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/43505f28bb49f6e290c24be0b209ccc1af350f0f6587025ffd4847ef44bf6b78?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/43505f28bb49f6e290c24be0b209ccc1af350f0f6587025ffd4847ef44bf6b78?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/43505f28bb49f6e290c24be0b209ccc1af350f0f6587025ffd4847ef44bf6b78?s=96&d=mm&r=g\",\"caption\":\"Ilias Tsagklis\"},\"description\":\"Ilias is a software developer turned online entrepreneur. He is co-founder and Executive Editor at Java Code Geeks.\",\"sameAs\":[\"http:\\\/\\\/www.iliastsagklis.com\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/iliastsagklis\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/ilias-tsagklis\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Set up a Java EE 6 development environment - Java Code Geeks","description":"This tutorial explains in short how to set-up a typical environment to develop Java EE 6 based applications. There is no prerequesite to this tutorial","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html","og_locale":"en_US","og_type":"article","og_title":"Set up a Java EE 6 development environment - Java Code Geeks","og_description":"This tutorial explains in short how to set-up a typical environment to develop Java EE 6 based applications. There is no prerequesite to this tutorial","og_url":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2012-02-23T01:34:00+00:00","article_modified_time":"2012-10-21T22:56:48+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-logo.jpg","type":"image\/jpeg"}],"author":"Ilias Tsagklis","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Ilias Tsagklis","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html"},"author":{"name":"Ilias Tsagklis","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/9a83496b285d30c61e8a674625c1350e"},"headline":"Set up a Java EE 6 development environment","datePublished":"2012-02-23T01:34:00+00:00","dateModified":"2012-10-21T22:56:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html"},"wordCount":1378,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-logo.jpg","keywords":["Java EE6"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html","url":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html","name":"Set up a Java EE 6 development environment - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-logo.jpg","datePublished":"2012-02-23T01:34:00+00:00","dateModified":"2012-10-21T22:56:48+00:00","description":"This tutorial explains in short how to set-up a typical environment to develop Java EE 6 based applications. There is no prerequesite to this tutorial","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/java-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2012\/02\/set-up-java-ee-6-development.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Set up a Java EE 6 development environment"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/9a83496b285d30c61e8a674625c1350e","name":"Ilias Tsagklis","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/43505f28bb49f6e290c24be0b209ccc1af350f0f6587025ffd4847ef44bf6b78?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/43505f28bb49f6e290c24be0b209ccc1af350f0f6587025ffd4847ef44bf6b78?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/43505f28bb49f6e290c24be0b209ccc1af350f0f6587025ffd4847ef44bf6b78?s=96&d=mm&r=g","caption":"Ilias Tsagklis"},"description":"Ilias is a software developer turned online entrepreneur. He is co-founder and Executive Editor at Java Code Geeks.","sameAs":["http:\/\/www.iliastsagklis.com\/","https:\/\/www.linkedin.com\/in\/iliastsagklis"],"url":"https:\/\/www.javacodegeeks.com\/author\/ilias-tsagklis"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=895"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/895\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/148"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}