Showing posts with label Intellij. Show all posts
Showing posts with label Intellij. Show all posts

Adding a webclient to EJB project

This tutorial goes on where The previous tutorial stopped so please make sure to check it out before reading anay further!

Ok let's get going again, open the ejb project in your intellij IDE and follow these simple steps:

  • Click file -> new module 
  • Create new module from scratch -> next
  • name the module webclient -> next
  • create source directory src -> next
  • select application server and web application (should be checked when you check application server). Again make sure to select your jboss 6.1.0 final server.
  • Click finish

EJB Hello World project with Jboss server

Hi everyone, today i have experienced it can be rather challenging to setup a EJB (Enterprise Java Beans) project from scratch so i decided to make a little tutorial. To do this i will be using the Intellij IDE and Jboss as my server.IMPORTANT: DO NOT USE ANY SPACES IN YOUR PATHS! THE SERVER WILL HATE YOU FOR IT! :)


Prerequisites:
Create a new project from scratch:

  • In your Intellij IDE go to File -> new project
  • Create project from scratch -> next
  • name your project "ejb" and put it on c:\\ for example, as long as there are no spaces. Leave all other settings as they are (create java module checked) -> next
  • Create source directory src -> next
  • In the the current window you are able to select the facets you'd like to add to your module, select application server, enterprise javabeans (EJB) and javaEE application. make sure the EJB version is set to 3.1 and that you select your jboss 6.1.0 server for application server. note: uncheck Web application! as we only want to create the ejb side (backend in this tutorial)
  • click finish and intellij will download all needed jars for you! :) 

Set up a maven web project in Intellij with Spring and JPA - Part Seven

Welcome to part Seven of this tutorial series! After configuring our Spring MVC setup in the last tutorial we will now implement it. First of all let's have a look at our index.jsp and change it to this:


We only need this one line of code here.



Now create PostController.java in the blog.controller.dao package and mark it with @Controller.

Set up a maven web project in Intellij with Spring and JPA - Part One

Hello everyone, in this article i will you how to setup a web application with maven integration in Intellij.
I'm planning to make it a mutli-part tutorial on how to configure maven with spring and jpa. This is the first part in the tutorial, more coming soon.



  1. Open your Intellij, navigate to file -> new project and create a project from scratch -> next