Look here how integrate the JBoss / Wildfly Application Server with the Eclipse IDE.
Go to the "servers" tab and create a new server:
Select this option:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYBw8WKwHJlIJZkB7iULV_RU47BdvinEvm_aPif8seEUX9E78XlQpCpHQwlB6Uf2vRe7zw_HLr_atpPrq5S9Ct6so7Si5jggeTw5K-9d7EVmN7lD_TRRWrydgmc0zh_6MEE-_MTxE4c14/s1600/3.png)
Install the JBossAS Tools:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM3ocA5ppSic-CfzJOQqqWxJt3ijkM34_ip8LvCF_nzKM4qWB9oXFUprzWPYuDooFPzDFIyOQV73PWgrec0rJ4BXoHQbkPqt3cESdRnDj1q3JcGQvHX2zaEXvKKyNmXC19TVtPCSkaVz0/s1600/1.png)
Now a new entry with the WildFly option is available, although only the version 8.x is available, it works with the version 9.x too:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfufBV8tpQItjlweJly0EuFCweBpyjK91zyrqmNw-V_4lywSovbusY6OA3_5w8xAqcWikyecnTZQ_ZigLFtmX6a3qh2zSe90cMjFGohMjvTCL-BFebadmOJkKib8L5RDZ0ImdGcfky4Ig/s1600/4.png)
Click next and select these options:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4frNs_QYBLLonj88J7zesmp87y8nABHvHwq1xcjK9rFh6uZ1mk5pk8TV4_LnC2NTpDOGpQsVS3VmPAqT1GY1DeVFg1wSUT0cqNC2t9RMFdSaf7uURlgJiibDJL8imybbNRz9A1uy7lSo/s1600/5.png)
Now select the Wildfly path of your system, after this it will detect the "standalone.xml" configuration file automatically as below:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwh3akcm8fFrmvV_ZvT_DEQd3C97S3TsP7vhlGMHnCi5JkT_pSluJ5KjKDGFaE3NqNKNi1Y7cKKbT7reoBjDGx9wwU9JSWeA1H2nxqgfSmWTI-JHsYltfNG88Hq8KhcG2ReY3Nzy_2XdE/s1600/6.png)
Click "Finish" and start the server:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLNMLAuCtjRXCj1RiI3bBD6poBJXXbptFz0oSsqsNiwak5_jUhigpV-wWtw553de_BisQ5z2mw3T-4Wfsq8eXXziVKEikCaOQRibIz0DDGWGhC0tKd0RQ1SR_umLxfguKpX2offiHoWLs/s1600/7.png)
Now you should see the Eclipse console with the server log file as well as the built-in browser (for Windows users) with your application running at "localhost:8080/<your_application_name>":
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivLlAbTvdEcEzhOmEvQamKRRpm4yXzp1YauadQD7uTodrX8kvCu2CWhYeyjNqQR3lQ_IZprQK0GaFPN7zUbli1Co9BTu0qedr4uFzO2R9lmq_roZGEkF2aS0N_fKtZyL7vxXWroAhw9ks/s640/8.png)
That's all!
About the versions
- Windows 7 x86
- Eclipse Java EE Luna 4.4.1
- WildFly 9.0.1.Final
- Java Version 1.8.0_31
0 comentários :
Post a Comment