{"action":"created","issue":{"url":"https://api.github.com/repos/unige-pinfo-2018/Exercises/issues/1","repository_url":"https://api.github.com/repos/unige-pinfo-2018/Exercises","labels_url":"https://api.github.com/repos/unige-pinfo-2018/Exercises/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/unige-pinfo-2018/Exercises/issues/1/comments","events_url":"https://api.github.com/repos/unige-pinfo-2018/Exercises/issues/1/events","html_url":"https://github.com/unige-pinfo-2018/Exercises/issues/1","id":302296199,"number":1,"title":"How to get started with JEE?","user":{"login":"stklik","id":235894,"avatar_url":"https://avatars0.githubusercontent.com/u/235894?v=4","gravatar_id":"","url":"https://api.github.com/users/stklik","html_url":"https://github.com/stklik","followers_url":"https://api.github.com/users/stklik/followers","following_url":"https://api.github.com/users/stklik/following{/other_user}","gists_url":"https://api.github.com/users/stklik/gists{/gist_id}","starred_url":"https://api.github.com/users/stklik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stklik/subscriptions","organizations_url":"https://api.github.com/users/stklik/orgs","repos_url":"https://api.github.com/users/stklik/repos","events_url":"https://api.github.com/users/stklik/events{/privacy}","received_events_url":"https://api.github.com/users/stklik/received_events","type":"User","site_admin":false},"labels":[{"id":855633827,"url":"https://api.github.com/repos/unige-pinfo-2018/Exercises/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-05T13:17:41Z","updated_at":"2018-03-05T13:18:13Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"TL;DR: read/watch http://www.adam-bien.com/roller/abien/entry/setting_up_java_ee_7\r\n\r\n\r\nI received a long email from @kaikoveritch about Java EE7 and how to deal with it.\r\nI will answer inline:\r\n\r\n> We were told that our projects would use Java EE 7 and I am currently trying some setup to that end. There is however a dizzying amount of versions of Java and I must admit I am getting a bit lost, especially with Eclipse, which seems to have its own mysterious inner workings.\r\n\r\nYes. Java EE 7, it can be a bit difficult to wrap your head around it.\r\nJava EE and Java are two different things.  \r\nIn order to use Java EE, you will have to have an Eclipse version + JDK installed (I suggest a recent version). You can then start developing.\r\n\r\n> I have Eclipse EE and (by default) JavaSE-1.8 (jre/jdk). I tried switching directly to J2EE-7 (I think that's the abreviated name if I am not mistaken) but couldn't find the means to do it from Eclipse. My deduction was that I had in fact not installed Java EE at all and I tried to download it. I downloaded the third (and last) update of Java EE 7 from Oracle's website and got a \"glassfish\" directory which only seems to be a web development component (Eclipse will not let me select it). I did a lot of glorious googling on that matter, but could not find any definitive (or working) way of switching versions and at this point, I am basically lost.\r\n\r\nJava EE is a set of APIs that provide additional capabilities to Java (and some \"black magic\").\r\nIn order to execute JEE code you will have to run your code within a Java EE 7 execution environment which is usually one of the following: \r\n\r\n * Tomcat\r\n * Wildfly\r\n * Glassfish\r\n\r\nYou should therefore look into connecting either your server (let's say Wildfly for example) either inside Eclipse  (which makes it easy) or learn how to deploy to the Wildfly environment from outside Eclipse (a bit more complicated)\r\n\r\n> Should I simply switch to JavaSE-1.7 ? Is there a setting I missed ?\r\n\r\nDon't. (Please!). Use Java 8 (or Java 9).  \r\nInstall a recent version of Wildfly, Glassfish or Tomcat, make sure you can execute the code.\r\nTo create a project with Java EE Maven dependencies already included, use Adam Bien's JEE7 archetype (similarly to what we did in class with the `quickstart` archetype).\r\nhttp://www.adam-bien.com/roller/abien/entry/setting_up_java_ee_7\r\n\r\n\r\nA tutorial on how to link Wildfly with Eclipse: http://www.ejbtutorial.com/j2ee/getting-started-with-j2ee-installing-wildfly-on-eclipse  \r\nThe article is already from 2016, but I think the basic process is still the same."},"comment":{"url":"https://api.github.com/repos/unige-pinfo-2018/Exercises/issues/comments/370415911","html_url":"https://github.com/unige-pinfo-2018/Exercises/issues/1#issuecomment-370415911","issue_url":"https://api.github.com/repos/unige-pinfo-2018/Exercises/issues/1","id":370415911,"user":{"login":"stklik","id":235894,"avatar_url":"https://avatars0.githubusercontent.com/u/235894?v=4","gravatar_id":"","url":"https://api.github.com/users/stklik","html_url":"https://github.com/stklik","followers_url":"https://api.github.com/users/stklik/followers","following_url":"https://api.github.com/users/stklik/following{/other_user}","gists_url":"https://api.github.com/users/stklik/gists{/gist_id}","starred_url":"https://api.github.com/users/stklik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stklik/subscriptions","organizations_url":"https://api.github.com/users/stklik/orgs","repos_url":"https://api.github.com/users/stklik/repos","events_url":"https://api.github.com/users/stklik/events{/privacy}","received_events_url":"https://api.github.com/users/stklik/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T13:18:13Z","updated_at":"2018-03-05T13:18:13Z","author_association":"CONTRIBUTOR","body":"@unige-pinfo-2018/pinfo1 @unige-pinfo-2018/pinfo2  @unige-pinfo-2018/pinfo3 "}}
{"actor":{"display_login":"stklik"}}