How to change the context url in jboss or wildfly
Tech-Today

How to change the context url in jboss or wildfly


Normally when we create a new war or ear, for example demo-project.war or demo-project.war inside demo-project.ear. The context root or url to which we can access the web application is:

http://localhost:8080/demo-project

But what if we want to change context root or in this case demo-project to let's say "demo" only.

Steps:
1.) In the web project create a new file: src/main/webapp/WEB-INF/jboss-web.xml

2.) Enter the following content
<jboss-web>
<context-root>demo</context-root>
</jboss-web>




- Hibernate Ogm For Mongodb
So lately I've been playing with Hibernate OGM MongoDB's latest version 5.4.0.Beta2 but I'm not able to run a demo project created from wildfly-javaee7-war archetype following the documentation. Here are the changes I've made to make...

- How To Signin To Keycloak Using Google
There are 3 set of steps that we must follow in order to come up with a web project that will allow us to login using google's identity provider. Set 1 - Create a google applicationCreate a google application at https://console.developers.google.com...

- How To Setup Your Google Code Repository To Be Accessible In Maven
This tutorial will teach us how we can setup a google code project, so we can make the artifact accessible via maven. Requirements: 1.) You should have an account in google code. The trick is just simply forming the correct url to be access by maven....

- How To Create A Javaee6 Web App Using Jboss Maven War Archetype
This tutorial will teach us how easy it is to create a javaee6 web project using jboss maven archetype. Requirements: 1.) eclipse-jee-juno 2.) maven plugin Steps: 1.) Open eclipse 2.) In eclipse click File->New->Other, and type "maven" in the wizards...

- Eclipse Fragment Tutorial - Patch Your Eclipse Plugin Using Eclipse Fragment
Usually, I've been using eclipse fragments to separate my language and resource files. Each language resource, japanese, english, tagalog will have their own fragment. This time I wanted to used fragment to patch an existing plugin, and it took 3...



Tech-Today








.