by WeCanCode-Author | Mar 9, 2023 | 3 Minutes : Tutorials, General, How-To, ProTip
10 pointe to remember Agile
Agile is a project management methodology that emphasizes iterative and incremental development, flexibility, and customer collaboration.
Here are some key points to help you understand Agile:
- Agile values individuals and interactions over processes and tools.
- Agile encourages customer involvement and feedback throughout the development process.
- Agile emphasizes the delivery of working software in short iterations, usually 1-4 weeks long.
- Agile teams work collaboratively, with regular team meetings and continuous communication.
- Agile embraces change, with the ability to adapt to evolving requirements and priorities.
- Agile emphasizes the importance of delivering business value quickly and regularly.
- Agile relies on self-organizing teams that can adapt to changing requirements and circumstances.
- Agile uses a variety of tools and techniques, including user stories, daily stand-up meetings, and retrospectives.
- Agile focuses on creating a minimum viable product (MVP) that can be tested and validated with customers.
- Agile values quality and testing, with a focus on continuous integration and automated testing.
by WeCanCode-Author | Feb 11, 2022 | DSA, GiveAway
Get Free Big O Cheatsheet
To get free Big O cheatsheet, Fill in your name and email to get your copy.
Do not scared, we do not spam your inbox.
If you encounter any problem with download, please reach us via the messanger (Bottom right)
We Provide a free copy of the Big O Notations cheatsheet for easy reference.
Why Wait Download Now!
by WeCanCode-Author | Jun 4, 2017 | Apache Wicket, hello-world, How-To, Java
What is Apache Wicket ?
Apache Wicket is a Web Framework provided by Apache Foundation “apache.org“.
Why Apache Wicket?
To my understanding, Apache wicket is a Component based web framework. Which provides support to create the View and Model (UI and Business Logic) very quickly and easily.
What do we need to create Wicket Application?
In order for us to build Wicket Application, we need the Libraries and IDEs.
- Wicket Libraries – Download (at the time of writing this blog i used the Apache Wicket 7.x)
- Eclipse IDE J2EE/WDT – Download
- m2e – maven2 for Eclipse Plugin – How to download m2e from market place?
- Tomcat 7 (We need a web server, to run our application to handle the Servlet/Filter Request & Response)
Note: If you are using maven to configure the project, you do not need to download the wicket libraries mentioned above, because maven will download the necessary jars required for Wicket Application.
Lets Get Start With Setting up the Workspace!!
- Launch Eclipse
- Create New Dynamic Web Project (New -> Project -> Other – Dynamic Web Project)
- Give Project a Name “WicketHelloWorld”
- Choose the Runtime and Select Apache Tomcat 7.0 (How to Setup Apache Tomcat 7 Server)
- Click Next

New Dynamic Web Project
- Do not change anything for the class source directory, Click Next

No Changes, Click next
- Make Sure you Click the Check Box “Generate web.xml”. !

Select Generate web.xml
- Click Finish.
- Your project will be created and can be seen in project explorer.
Adding Maven Dependency to the Project we created.
- We need to add Maven Dependency to the project.
- Right Click on the Project and Choose “Configure -> Convert to Maven Project”.

Groupid : your package name can be given Artifact id: Your Project Name packaging: war (Web archive)
- Click Finish, pom file will be opened.

pom.xml
- We need to add the dependency for Wicket and other required libraries.
- Click on the pom.xml tab and add the below dependency entry
org.apache.wicket
wicket
7.7.0
pom
add this into pom.xml after closing tag. and save the pom.
- Press Alt+F5 to update the Maven dependency
Note: You need Internet connection at very first to download the wicket library files.
- Once your have the maven dependency downloaded, we are good to start creating our Wicket Hello World!! Program.
- Open web.xml from WebContent/WEB-INF/web.xml
WicketHelloWorld
WicketFlowApp
org.apache.wicket.protocol.http.WicketFilter
applicationClassName
in.co.aryanz.app.MainApplication
WicketFlowApp
/*
We have to add Filter to the web.xml, so that when we hit the URL in browser it uses the wicket filter to kick-start our application.
- Now create new java package “in.balamt.app”
- Create new Java Class “MainApplication.java” which extends from “org.apache.wicket.protocol.http.WebApplication”.
package in.balamt.app;
import org.apache.wicket.Page;
import org.apache.wicket.protocol.http.WebApplication;
public class MainApplication extends WebApplication {
@Override
public Class getHomePage() {
// This getHomePage method will be called at first, and inorder to have our HomePage to be displayed we give the HomePage.class
return HomePage.class;
}
}
MainApplication.java
- getHomePage() method is called when launching the application. so we have to provide the home page.
- Create new package “in.balamt.pages”
- Create New Java Class “HomePage.java” and Create New HTML “HomePage.html”
Note: Wicket required both java and html files, also both the files need to be placed together, meaning java and html file name and location should be same.
To be continued
by WeCanCode-Author | Jun 3, 2017 | Eclipse, How-To
Setting Up Apache Tomcat 6/7/8 Server Runtime
At first we need to download install Apache Tomcat 7.
- After Install, Open Eclipse.
- Open Windows -> Preference and Search for “Server”

Windows -> Preference -> Server
- Select Runtime Environments, Click Add.
- New Server Runtime Wizard will open.
- Select The Apache Tomcat Version (Here i’m Selecting Tomcat 7)

New Server Runtime Environment (Select Tomcat 7 or other Version)
- Click Next
- Name (Can be any name)
- Tomcat Installation Directory (Choose the Installation Dir)
- C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0
- JRE
- Select the Workbench Default (if you want to use different JRE, change here).
- Click Finish.
We Have Create new Runtime.
Now we need to Create Local Server
- Windows -> Show View -> Server (Alternatevely you can User Quick Access to open Server view).
- Create New Server

New Server : Click Finish to Have default Values
- Voila! We have finished the Server Setup.
- You can startt adding the project to server and Start.