Answer the question
In order to leave comments, you need to log in
JavaEE (environment setup advice)?
Good evening. I must say right away that I rather need the advice of those who understand, and not in any particular issue.
Essence: I am doing a case aimed at learning a number of java EE technologies. The idea of the case is to launch an already written, existing project and make a number of changes. The tools used are clearly marked, and look something like this:
1) Websphere application server (Was)
2) IBM DB2
3) Ant
4) Intelij IDEA
+ there is a folder with the project itself.
It is required to set up the environment, deploy the project and modify something.
Since, I am not very familiar with Java EE yet, that is, there are white spots in my understanding of the architecture and interaction of these elements. In general, I am moving forward, but I would like to hear your advice, and possibly useful links.
What exactly is not clear to me?
As far as I understand, WAS is plugged into Intelig Idea and actually serves as an environment for executing the application. But it's not entirely clear to me how exactly to link this construct to DB2? Is it done in code? Through an IDE? Through server administration? Moreover, in the project folder there is a "Database" folder and I'm 90% sure that the database of this application is located there. But how to roll it? After all, was will not be able to use it without db2?
And secondly, I would like to know more about how exactly Ant should be used. I understand that this is a build tool, but I don't understand how to use it.
Looking forward to your advice and useful links!
Answer the question
In order to leave comments, you need to log in
WAS doesn't stick into IDEA, he just gets hurt out of it.
This is a separate application.. The connection with the DB is usually done in ee via jndi and all this is done in the server's admin panel.
DB2 is also a separate application. Was connects to it through a regular jdbc driver.
You can pour the base in different ways. You can even do it manually through the client (0xdbe is very good)
Ant is probably a relic of the old, it's better to start using gradle or maven.
In ant, the assembly is described in the build file and the assembly is launched inside the folder with the ant build command
Look at the links https
://ant.apache.org/manual/tutorial-HelloWorldW...
.html#...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question