Tag Archives: j2ee

Heading for Appfuse

I was assigned to develop a solution to manage customer applications.

I could have done it with simple solution with php on a simple cms.

But in past few year I worked in J2EE solutions. So headed for that.

But the problem is, when I worked on J2EE projects my seniors provided me the already structured Skeleton. What I didn’t have with me in my new workplace.

I have experienced with JSF, Spring and Hibernate.

So I wanted a skeleton with these three. Along with user management, session management and ready to use JSF-Spring-Hibernate  configuration. I studied and found that it will really painful job to connect them all, if I don’t have any previous experience doing that. Moreover, I will never know, if have done it perfectly and there is no one to check it. Do, I headed for Appfuse ( http://appfuse.org/ ). I was looking for some demo it can use it. I found http://demo.appfuse.org/ . There were four choices. They are –

* JSF + Spring + Hibernate
* Struts 2 + Spring + Hibernate
* Spring MVC + Spring + Hibernate
* Tapestry + Spring + Hibernate

As u can assume, I picked “JSF + Spring + Hibernate”. After spending some time I found that, It was really that, what I was looking for. It has JSF, Spring, Hibernate and ACEGI security already configured and ready to use stage. Now, just i want, to get the source code along with the dependency jars, and the hell working it out.

So I have started work on it, got some awesome facilities with some problem. I will share it on future.


Setting Proxy Information for maven

I was working on a J2EE app on my new work place.

I was doing the first thing for starting development… Building my frame work…

On my way I needed to connect maven repository through maven.

But I couldn’t. I was eating connection timeout error.

Suddenly I remembered, the network guys of my new workplace provided me proxy address n port and username – password to connect to the internet.

So i wanted maven to know that.

Then I googled for my problem and found some solution.

I was working on Windows XP and I installed maven in C:\Program Files\Apache Software Foundation\apache-maven-2.2.1\

In C:\Program Files\Apache Software Foundation\apache-maven-2.2.1\conf there is a file “settings.xml”

I found the bellow block

<!– proxy
| Specification for one proxy, to be used in connecting to the network.
I just replaced it with
Then maven was able to connect to the repository.