The document provides instructions for installing and configuring the tools needed to run the Cimande 2.0 application framework. It discusses downloading and installing Eclipse IDE, m2eclipse, Subclipse, Apache Tomcat, and MySQL Query Browser. It also explains how to create a Cimande project from the Maven archetype template, generate database schemas using Maven, and implement basic CRUD operations in Cimande for a sample person profile entity.
How to Install and Configure Jenkins on Centos 7AniketGoyal14
Jenkins is an open source tool which is written in java.
It can help us to run tasks that need to be executed once in a while. It has the ability to automatically deploy the code into the target instance whenever a developer commits changes to the source code , Hence it is referred to as CI/CD tool.
Old school presentation (2010) about Continuous Integration using Hudson, Maven, Mercurial to build a Java project with unit tests and other quality checks.
Building and Deploying a Static Application using Jenkins and Docker in AWSijtsrd
Although there are many ways to deploy the Jenkins open source automation server on Amazon Web Services AWS , this whitepaper focuses on two specific approaches. First, the traditional deployment on top of Amazon Elastic Compute Cloud Amazon EC2 . Second, the containerized deployment that leverages Amazon EC2 Container Service Amazon EBS . These approaches enable customers to take advantage of the continuous integration continuous delivery CI CD capabilities of Jenkins. Using an extensive plugin system, Jenkins offers options for integrating with many AWS services and can morph to fit most use cases. Suppose you've built a new application for your client, or maybe yourself, and have managed to get a good user base that likes your application. You've gathered feedback from your users, and you go to your developers and ask them to build new features and make the application ready for deployment. With that ready, you can either stop the entire application and deploy the new version or build a zero downtime CI CD deployment pipeline which would do all the tedious work of pushing a new release to users without manual intervention. we will talk exactly about the latter, how we can have a continuous deployment pipeline of a three tier web application built in Node.js on AWS Cloud using Terraform as an infrastructure orchestrator. We'll be using Jenkins for the continuous deployment part and Bitbucket to host our codebase. we will look into setting up a Jenkins server which will be used for our CI CD pipeline. We will be using Terraform and AWS for setting this up as well. The Terraform code for setting Jenkins is inside the folder Jenkins setup. we have the AMIs for the API and web modules, we will trigger a build to run Terraform code for setting up the entire application and later go through the components in Terraform code which makes this pipeline deploy the changes with zero downtime of service. The first thing is that Terraform provides these lifecycle configuration blocks for resources within which you have an option create before destroy as a flag which literally means that Terraform should create a new resource of the same type before destroying the current resource. Malathi. S | Ganeshan. M "Building and Deploying a Static Application using Jenkins and Docker in AWS" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-4 | Issue-4 , June 2020, URL: https://www.ijtsrd.com/papers/ijtsrd30835.pdf Paper Url :https://www.ijtsrd.com/computer-science/computer-network/30835/building-and-deploying-a-static-application-using-jenkins-and-docker-in-aws/malathi-s
The Meteor framework is a rising star. Other frameworks focus on separation of concerns or data binding or look and feel, but rarely put all the pieces together like Meteor does. Meteor is a full-stack isomorphic JavaScript framework for writing web and mobile apps that share code with the server and use MongoDB. It supports live updates and hot deploys, integrates with Cordova, AngularJS and other frameworks and tools, and has a unified package system for server and client packages. It also has a single tool that does everything and simplifies the everyday workflow: builds, cloud deployments, minification, managing target platforms and Meteor packages, and all the rest. In this session, you will learn about Meteor and see it in action.
How to Install and Configure Jenkins on Centos 7AniketGoyal14
Jenkins is an open source tool which is written in java.
It can help us to run tasks that need to be executed once in a while. It has the ability to automatically deploy the code into the target instance whenever a developer commits changes to the source code , Hence it is referred to as CI/CD tool.
Old school presentation (2010) about Continuous Integration using Hudson, Maven, Mercurial to build a Java project with unit tests and other quality checks.
Building and Deploying a Static Application using Jenkins and Docker in AWSijtsrd
Although there are many ways to deploy the Jenkins open source automation server on Amazon Web Services AWS , this whitepaper focuses on two specific approaches. First, the traditional deployment on top of Amazon Elastic Compute Cloud Amazon EC2 . Second, the containerized deployment that leverages Amazon EC2 Container Service Amazon EBS . These approaches enable customers to take advantage of the continuous integration continuous delivery CI CD capabilities of Jenkins. Using an extensive plugin system, Jenkins offers options for integrating with many AWS services and can morph to fit most use cases. Suppose you've built a new application for your client, or maybe yourself, and have managed to get a good user base that likes your application. You've gathered feedback from your users, and you go to your developers and ask them to build new features and make the application ready for deployment. With that ready, you can either stop the entire application and deploy the new version or build a zero downtime CI CD deployment pipeline which would do all the tedious work of pushing a new release to users without manual intervention. we will talk exactly about the latter, how we can have a continuous deployment pipeline of a three tier web application built in Node.js on AWS Cloud using Terraform as an infrastructure orchestrator. We'll be using Jenkins for the continuous deployment part and Bitbucket to host our codebase. we will look into setting up a Jenkins server which will be used for our CI CD pipeline. We will be using Terraform and AWS for setting this up as well. The Terraform code for setting Jenkins is inside the folder Jenkins setup. we have the AMIs for the API and web modules, we will trigger a build to run Terraform code for setting up the entire application and later go through the components in Terraform code which makes this pipeline deploy the changes with zero downtime of service. The first thing is that Terraform provides these lifecycle configuration blocks for resources within which you have an option create before destroy as a flag which literally means that Terraform should create a new resource of the same type before destroying the current resource. Malathi. S | Ganeshan. M "Building and Deploying a Static Application using Jenkins and Docker in AWS" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-4 | Issue-4 , June 2020, URL: https://www.ijtsrd.com/papers/ijtsrd30835.pdf Paper Url :https://www.ijtsrd.com/computer-science/computer-network/30835/building-and-deploying-a-static-application-using-jenkins-and-docker-in-aws/malathi-s
The Meteor framework is a rising star. Other frameworks focus on separation of concerns or data binding or look and feel, but rarely put all the pieces together like Meteor does. Meteor is a full-stack isomorphic JavaScript framework for writing web and mobile apps that share code with the server and use MongoDB. It supports live updates and hot deploys, integrates with Cordova, AngularJS and other frameworks and tools, and has a unified package system for server and client packages. It also has a single tool that does everything and simplifies the everyday workflow: builds, cloud deployments, minification, managing target platforms and Meteor packages, and all the rest. In this session, you will learn about Meteor and see it in action.
The Brave New World of Continuous Release - Baruch Sadogurskyjaxconf
While rapid release cycles provide numerous benefits for end-users and developers, it puts additional pressure on DevOps to make sure that a good application is provisioned with no mistakes. In this session, we will look at the release process from the binaries point of view. We will explain what are the processes and the methodologies for moving your build binaries between different phases until declared production-ready. In the second part of the session, we will show how business requirements can affect release procedures. We will discuss what it takes to customize the logic of the process in the context of CI servers and binary artifacts. We will demonstrate several common release methodologies and compare the pros and cons of each one.
Présentation de notre webinar du 27 janvier 2022.
Replay disponible sur https://more.suse.com/FY22Q1_FM_EM-SO-FR_SR_CLDNT_WEB_Harvester_Launch_Meetup_FR_RegistrationPage.html
Ever wondered what makes a cloud-native application “cloud-native”? Ever wondered what the unique challenges are and how best to address them on fully-open Java technologies? In this workshop, you’ll learn what it means to be cloud-native and how that impacts application development. You’ll learn about Eclipse MicroProfile, an industry collaboration defining technologies for the development and management of cloud-native microservices. With a full set of MicroProfile workshop modules available to you, you’ll be able to start with the basics of REST services and progress to more advanced topics, or you can jump right in and develop secure, fault tolerant, configurable and monitorable microservices.
Once you’ve developed your microservice, you’ll learn how to package it in a Docker container and deploy it to a Kubernetes cluster. Finally, you’ll learn the role OpenShift the hybrid cloud enterprise container platform. You'll deploy your application, scale it up and create routes that allow you to manage traffic to and from your deployments.
Automating your build process with Continuous Integration is certainly a great idea, but why stop there? Why not go the whole nine yards and automate the deployment process as well? Staging and production deployments are typically more complicated and more involved than a simple development deployment, but doing them by hand can be time-consuming, tricky and error-prone. Indeed, turning your staging and production deployments into a one-click affair has a lot going for it.
WebLogic Developer Experience and Java EE 6Jeffrey West
This presentation was delivered at The Server Side Java Symposium in Las Vegas, 2011. The presentation describes the developer features that are included in WebLogic, an overview of the new features in 10.3.4 and our plans for WebLogic support of EE 6
Jenkins is a unique piece of software, lots of people and enterprises use it to deploy and build their software and also their infrastructure. It has tons of plugins, and can do virtually anything. It is important for both devs and ops. This talk will be about how you can automate and test your Jenkins instances. In the past, the tooling around it was not so great, but it has changed. Tools like Jenkins Pipeline and Job DSL plugin has entered the game and are here to stay.
Modernizing Twitter for Windows as a Progressive Web AppWindows Developer
In this theater session, join Twitter as they walk through how they re-built their Windows app using the new Progressive Web App platform in Microsoft Edge and Windows 10. This new app powers the Twitter experience on the Web, Android devices, Windows, and more, providing a performant, feature rich experience regardless of form factor, all from one unified codebase providing a modern experience on any device.
Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...Nagios
Sam Lansing's presentation on automated application testing in Nagios.
The presentation was given during the Nagios World Conference North America held Sept 25-28th, 2012 in Saint Paul, MN. For more information on the conference (including photos and videos), visit: http://go.nagios.com/nwcna
The Brave New World of Continuous Release - Baruch Sadogurskyjaxconf
While rapid release cycles provide numerous benefits for end-users and developers, it puts additional pressure on DevOps to make sure that a good application is provisioned with no mistakes. In this session, we will look at the release process from the binaries point of view. We will explain what are the processes and the methodologies for moving your build binaries between different phases until declared production-ready. In the second part of the session, we will show how business requirements can affect release procedures. We will discuss what it takes to customize the logic of the process in the context of CI servers and binary artifacts. We will demonstrate several common release methodologies and compare the pros and cons of each one.
Présentation de notre webinar du 27 janvier 2022.
Replay disponible sur https://more.suse.com/FY22Q1_FM_EM-SO-FR_SR_CLDNT_WEB_Harvester_Launch_Meetup_FR_RegistrationPage.html
Ever wondered what makes a cloud-native application “cloud-native”? Ever wondered what the unique challenges are and how best to address them on fully-open Java technologies? In this workshop, you’ll learn what it means to be cloud-native and how that impacts application development. You’ll learn about Eclipse MicroProfile, an industry collaboration defining technologies for the development and management of cloud-native microservices. With a full set of MicroProfile workshop modules available to you, you’ll be able to start with the basics of REST services and progress to more advanced topics, or you can jump right in and develop secure, fault tolerant, configurable and monitorable microservices.
Once you’ve developed your microservice, you’ll learn how to package it in a Docker container and deploy it to a Kubernetes cluster. Finally, you’ll learn the role OpenShift the hybrid cloud enterprise container platform. You'll deploy your application, scale it up and create routes that allow you to manage traffic to and from your deployments.
Automating your build process with Continuous Integration is certainly a great idea, but why stop there? Why not go the whole nine yards and automate the deployment process as well? Staging and production deployments are typically more complicated and more involved than a simple development deployment, but doing them by hand can be time-consuming, tricky and error-prone. Indeed, turning your staging and production deployments into a one-click affair has a lot going for it.
WebLogic Developer Experience and Java EE 6Jeffrey West
This presentation was delivered at The Server Side Java Symposium in Las Vegas, 2011. The presentation describes the developer features that are included in WebLogic, an overview of the new features in 10.3.4 and our plans for WebLogic support of EE 6
Jenkins is a unique piece of software, lots of people and enterprises use it to deploy and build their software and also their infrastructure. It has tons of plugins, and can do virtually anything. It is important for both devs and ops. This talk will be about how you can automate and test your Jenkins instances. In the past, the tooling around it was not so great, but it has changed. Tools like Jenkins Pipeline and Job DSL plugin has entered the game and are here to stay.
Modernizing Twitter for Windows as a Progressive Web AppWindows Developer
In this theater session, join Twitter as they walk through how they re-built their Windows app using the new Progressive Web App platform in Microsoft Edge and Windows 10. This new app powers the Twitter experience on the Web, Android devices, Windows, and more, providing a performant, feature rich experience regardless of form factor, all from one unified codebase providing a modern experience on any device.
Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...Nagios
Sam Lansing's presentation on automated application testing in Nagios.
The presentation was given during the Nagios World Conference North America held Sept 25-28th, 2012 in Saint Paul, MN. For more information on the conference (including photos and videos), visit: http://go.nagios.com/nwcna
Academic Earth received more than one million visits less than 3 months after its Jan. 18 launch, with 50% of visitors coming from outside of the US. Users have been particularly drawn to content related to job skills.
Learn all there is to know about Docker and containers from the bottom up. In this course, you'll learn what containers are and why they're great, as well as how to utilize Docker to create custom containers and images.
After a brief recap of what p2 is and depicting the overall vision, the presenter will show how this vision is realized and how the improvements made to both the runtime (core and UI) and the tooling in Galileo pave the way for a better provisioning solution at Eclipse.
BLCN532 Lab 1Set up your development environmentV2.0.docxmoirarandell
BLCN532 Lab 1
Set up your development environment
V2.0
Introduction
This course introduces students to blockchain development for enterprise environments. Before you can develop software applications, you need to ensue your development environment is in place. That means you’ll need all the tools and infrastructure installed and configured to support enterprise blockchain software development projects.
In this lab you’ll set up your own Hyperledger Fabric development environment and install the course software from the textbook. When you finish this lab, you’ll have a working development environment and will be ready to start running and modifying blockchain applications.
The instructions in your textbook are for Mac and Linux computers.
However
, there is no guarantee that your installation of MacOS or Linux is completely compatible with the environment in which the commands from the textbook work properly. For that reason, I
STRONGLY SUGGEST
that you acquire an Ubuntu 16.04 Virtual Machine (VM) for your labs. Using an Ubuntu 16.04 VM will make the labs far easier to complete.
The instructions in this course’s labs assume that your computer runs the Windows operating system. If you run MacOS or Linux, you can get
Vagrant
and
VirtualBox
for those operating systems and follow the gist of the “Initial setup for Windows computers”.
Lab Deliverables:
To complete this lab, you must create a
Lab Report file
and submit the file in iLearn. The Lab Report file must be a Microsoft Word format (.docx), and have the filename with the following format:
BLCN532_SECTION_STUDENTID_LASTNAME_FIRSTNAME_Lab01.docx
· SECTION is the section number of your current course (2 digits)
· STUDENTID is your student ID number (with leading zeros)
· LASTNAME is your last name, FIRSTNAME is your first name
To get started, create a Microsoft Word document (.docx) with the correct filename for this lab. You’ll be asked to enter text and paste screenshots into the lab report file.
NOTE: All screenshots MUST be readable. Use the Ubuntu Screen Capture utility (see the lab video.) Make sure that you label each screenshot (i.e. Step 2.1.3) and provide screenshots in order. For commands that produce lots of output, I only want to see the last full screen when the command finishes. Provide FULL screenshots, NOT cropped images.
SECTION 1: Initial setup for Windows computers (Chapter 3)
Step 1.1: Install Oracle Virtualbox (Windows, Linux, MacOS)
Oracle Virtualbox is an open source virtualization environment that allows you to run multiple virtual machines and containers on a single personal computer. Virtualbox is free and it is easy to install.
In your favorite web browser, navigate to:
https://www.virtualbox.org/
and click the “Download Virtualbox” button. Click the “Windows hosts” link to download the main installation executable. You should also click the “All supported platforms” under the “Extension Pack” heading to download extra software supp.
There are probably a lot of technologies you must learn in order to master the modern development and DevOps ecosystem but Docker (and of course orchestration and the containers’ ecosystem) is one of the important skills to have nowadays.
https://www.gangboard.com/operating-system-training/docker-training
[Note: This is a partial preview. To download this presentation, visit:
https://www.oeconsulting.com.sg/training-presentations]
Sustainability has become an increasingly critical topic as the world recognizes the need to protect our planet and its resources for future generations. Sustainability means meeting our current needs without compromising the ability of future generations to meet theirs. It involves long-term planning and consideration of the consequences of our actions. The goal is to create strategies that ensure the long-term viability of People, Planet, and Profit.
Leading companies such as Nike, Toyota, and Siemens are prioritizing sustainable innovation in their business models, setting an example for others to follow. In this Sustainability training presentation, you will learn key concepts, principles, and practices of sustainability applicable across industries. This training aims to create awareness and educate employees, senior executives, consultants, and other key stakeholders, including investors, policymakers, and supply chain partners, on the importance and implementation of sustainability.
LEARNING OBJECTIVES
1. Develop a comprehensive understanding of the fundamental principles and concepts that form the foundation of sustainability within corporate environments.
2. Explore the sustainability implementation model, focusing on effective measures and reporting strategies to track and communicate sustainability efforts.
3. Identify and define best practices and critical success factors essential for achieving sustainability goals within organizations.
CONTENTS
1. Introduction and Key Concepts of Sustainability
2. Principles and Practices of Sustainability
3. Measures and Reporting in Sustainability
4. Sustainability Implementation & Best Practices
To download the complete presentation, visit: https://www.oeconsulting.com.sg/training-presentations
3.0 Project 2_ Developing My Brand Identity Kit.pptxtanyjahb
A personal brand exploration presentation summarizes an individual's unique qualities and goals, covering strengths, values, passions, and target audience. It helps individuals understand what makes them stand out, their desired image, and how they aim to achieve it.
Kseniya Leshchenko: Shared development support service model as the way to ma...Lviv Startup Club
Kseniya Leshchenko: Shared development support service model as the way to make small projects with small budgets profitable for the company (UA)
Kyiv PMDay 2024 Summer
Website – www.pmday.org
Youtube – https://www.youtube.com/startuplviv
FB – https://www.facebook.com/pmdayconference
What is the TDS Return Filing Due Date for FY 2024-25.pdfseoforlegalpillers
It is crucial for the taxpayers to understand about the TDS Return Filing Due Date, so that they can fulfill your TDS obligations efficiently. Taxpayers can avoid penalties by sticking to the deadlines and by accurate filing of TDS. Timely filing of TDS will make sure about the availability of tax credits. You can also seek the professional guidance of experts like Legal Pillers for timely filing of the TDS Return.
Affordable Stationery Printing Services in Jaipur | Navpack n PrintNavpack & Print
Looking for professional printing services in Jaipur? Navpack n Print offers high-quality and affordable stationery printing for all your business needs. Stand out with custom stationery designs and fast turnaround times. Contact us today for a quote!
Enterprise Excellence is Inclusive Excellence.pdfKaiNexus
Enterprise excellence and inclusive excellence are closely linked, and real-world challenges have shown that both are essential to the success of any organization. To achieve enterprise excellence, organizations must focus on improving their operations and processes while creating an inclusive environment that engages everyone. In this interactive session, the facilitator will highlight commonly established business practices and how they limit our ability to engage everyone every day. More importantly, though, participants will likely gain increased awareness of what we can do differently to maximize enterprise excellence through deliberate inclusion.
What is Enterprise Excellence?
Enterprise Excellence is a holistic approach that's aimed at achieving world-class performance across all aspects of the organization.
What might I learn?
A way to engage all in creating Inclusive Excellence. Lessons from the US military and their parallels to the story of Harry Potter. How belt systems and CI teams can destroy inclusive practices. How leadership language invites people to the party. There are three things leaders can do to engage everyone every day: maximizing psychological safety to create environments where folks learn, contribute, and challenge the status quo.
Who might benefit? Anyone and everyone leading folks from the shop floor to top floor.
Dr. William Harvey is a seasoned Operations Leader with extensive experience in chemical processing, manufacturing, and operations management. At Michelman, he currently oversees multiple sites, leading teams in strategic planning and coaching/practicing continuous improvement. William is set to start his eighth year of teaching at the University of Cincinnati where he teaches marketing, finance, and management. William holds various certifications in change management, quality, leadership, operational excellence, team building, and DiSC, among others.
Premium MEAN Stack Development Solutions for Modern BusinessesSynapseIndia
Stay ahead of the curve with our premium MEAN Stack Development Solutions. Our expert developers utilize MongoDB, Express.js, AngularJS, and Node.js to create modern and responsive web applications. Trust us for cutting-edge solutions that drive your business growth and success.
Know more: https://www.synapseindia.com/technology/mean-stack-development-company.html
Falcon stands out as a top-tier P2P Invoice Discounting platform in India, bridging esteemed blue-chip companies and eager investors. Our goal is to transform the investment landscape in India by establishing a comprehensive destination for borrowers and investors with diverse profiles and needs, all while minimizing risk. What sets Falcon apart is the elimination of intermediaries such as commercial banks and depository institutions, allowing investors to enjoy higher yields.
5 Things You Need To Know Before Hiring a Videographer
Cimande 2.0 Quick Start english version
1. Cimande 2.0 Quick Start Guide
BAB I
CIMANDE 2.0 TOOLS
created by Meruvian Developer (Eng.version) 1
2. To Ro
The Purpose
1. Know and understand the tools are needed to run Cimande 2.0 such as Eclipse IDE,
M2Eclipse, Subclipse, Apache Tomcat, MySQL Query Browser
Learning Material
1.1 Eclipse IDE
Eclipse is an IDE (Integrated Development Software) to develop the software and can
run on all platform (platform independent). The following is characters of Eclipse :
• Multi Platform
Supports development and execution on all the major desktop platforms (Windows,
Mac OS X, Linux, QNX Photon, Pocket PC, HP-UX, AIX, Solaris)
• Multi Language
Eclipse written mostly in Java and can be used to develop applications in Java, but
Eclipse also support with various programming language like C/C++, Cobol, Phyton,
Perl and PHP
• Multi Role
Besides as an IDE for application development, Eclipse can be used for activities in the
software development cycle such as documentation, test software, and web
development
Eclipse is one of the favorite IDE due to free and open source. It means that anyone
can view the programming code of this software. Besides, the advantages that make it
populer is the ability to be developed by users with component named plugin. Kinds of plugin
that available in Eclipse :
– Subversion
– m2eclipse
created by Meruvian Developer (Eng.version) 2
3. To Ro
– Glassfish Integration
– Jboss Tools
– STS (SpringSource Tool Suite)
– EGIT (Git Eclipse Plugin)
– Mercurial Eclipse (Mercurial Eclipse Plugin)
– Windows Builder
1.2 m2eclipse
m2eclipse is a plugin that used if we use Maven as the project management. Maven is
a build tool like Ant but more complex and bigger than Ant. Maven is very good if we build
software that is done by several people
1.3 Subclipse
Subclipse is a plugin that is used for Eclipse integration and Subversion Client.
Subversion (SVN) is an opensource software that useful as version control. Basically, there
are two important parts of SVN. They are SVN Client and SVN Repository. SVN Client is a
software used to access user repository. SVN Repository is a server which contain datas on
the management. Any changes to the data recorded by the SVN repository.
Using this SVN the data in the repository can be copied to the client so that users can
process local data that often called the "Checkout". Then the data at the local when
processed, can be sent back to the repository for version control, and accessible to our
colleagues that usually called "Commit"
created by Meruvian Developer (Eng.version) 3
4. To Ro
1.4 Apache Tomcat
Apache Tomcat is a web server that can run on many operating system (Unix, BSD,
Linux, Microsoft Windows) and useful to serve or enable website. Apache has advance
features like error message that can be configured and based authentication database.
Apache also supported by many Graphic User Interface (GUI) that allow easy server handling
1.5 MySQL Query Browser
A database is a collection of information that is organized so that it can easily be
accessed, managed, and updated. The MySQL Query Browser is a graphical tool provided by
MySQL AB for creating, executing, and optimizing queries in a graphical environment. Where
the http://www.mysql.com/products/administrator/ is designed to administer a MySQL server,
the MySQL Query Browser is designed to help you query and analyze data stored within your
MySQL database
created by Meruvian Developer (Eng.version) 4
5. To Ro
Cimande 2.0 Quick Start Guide
BAB II
TOOLS INSTALLATION
created by Meruvian Developer (Eng.version) 5
6. To Ro
The Purpose
1. Know and understand how to install the tools are needed to run Cimande 2.0 like how
to install Eclipse Indigo 3.7, m2eclipse, Subclipse and Apache Tomcat 7.0.16
2. Know and understand how to make a database on MySQL Query Browser
Learning Material
2.1 Eclipse Indigo 3.7 Installation
Eclipse Indigo 3.7 is the latest version that just release last June 2011. Follow the
instruction below to install Eclipse Indigo :
2.1.1 Download Eclipse Indigo from http://www.eclipse.org/downloads/, choose
Eclipse Indigo for Linux 32 bit
created by Meruvian Developer (Eng.version) 6
7. To Ro
2.1.2 Download that link at Eclipse downloads – mirror selection
2.1.3 Save file in any directory
2.1.4 If the downloaded file is complete, extract the file and run the Eclipse by double
clicking on the Eclipse icon
created by Meruvian Developer (Eng.version) 7
8. To Ro
2.1.5 Eclipse Indigo will appear and select where you put Eclipse metadata by double
clicking the button Browse
created by Meruvian Developer (Eng.version) 8
9. To Ro
2.1.6 Eclipse Indigo ready to use
created by Meruvian Developer (Eng.version) 9
10. To Ro
2.2 M2Eclipse Installation
If previous Cimande we use Ant as the Build Tool, but in Cimande 2.0 we use Maven.
To run this Maven, the Eclipse must be intalled m2eclipse plugin. Follow the instruction below
to install m2eclipse :
2.2.1 To add the m2eclipse update site to the Eclipse site list, choose the menu item
Help → Install New Software
created by Meruvian Developer (Eng.version) 10
11. To Ro
2.2.2 Click Available Sotware Sites link
2.2.3 Click the Add button to display the Add Site dialog
created by Meruvian Developer (Eng.version) 11
12. To Ro
2.2.4 Insert the Name field with m2e updates , insert the Location field with the URL
http://download.eclipse.org/technology/m2e/releases , and then click OK, so the new
update site will be added to the list
2.2.5 Check Maven Integration for Eclipse (you can click the disclosure triangle to
see what exactly is included in this feature), then click Next
created by Meruvian Developer (Eng.version) 12
13. To Ro
2.2.6 View the Install Details, then click Next
2.2.7 Accept the Lisence Agreement and click on the Finish button to download and
install m2eclipse
2.2.8 Restart Eclipse
created by Meruvian Developer (Eng.version) 13
14. To Ro
2.3 Subclipse Installation
Subclipse installation is needed when we want to check out or commit code to SVN.
Follow the instruction below to install subclipse :
2.3.1 To add the Subclipse update site to the Eclipse site list, choose the menu item
Help → Install New Software
2.3.2 Click Available Software Site link
created by Meruvian Developer (Eng.version) 14
15. To Ro
2.3.3 Click the Add button to display the Add Site dialog
2.3.4 Insert the Field Name with subclipse, insert the Field Location with the URL for
subclipse update site http://subclipse.tigris.org/update_1.6.x, and then click OK, so the
new update site will be added to the list
2.3.5 Check Subclipse (you can click the disclosure triangle to see what exactly is
included in this feature), then click Next
created by Meruvian Developer (Eng.version) 15
16. To Ro
2.3.6 View Install Details, then click Next
created by Meruvian Developer (Eng.version) 16
17. To Ro
2.3.7 Accept Lisence Agreement and click on the Finish button to download and
install subclispe
2.3.8 Restart Eclipse
created by Meruvian Developer (Eng.version) 17
18. To Ro
2.4 Apache Tomcat 7.0.16 Installation
To run Cimande 2.0 we need a server. Follow the instruction below to install Apache
Tomcat 7.0.16 :
2.4.1 Download the Apache Tomcat 7.0.16 (last version) at http://tomcat.apache.org/
2.4.2 Download the Apache Tomcat file .zip
created by Meruvian Developer (Eng.version) 18
19. To Ro
2.4.3 Extract the Apache Tomcat 7.0.16 source file to any directory, for example in
home/netoya
2.4.4 Open Eclipse to make a server by clicking File → New → Other → Server →
Next menu item
2.4.5 Select Tomcat v7.0 Server, then click Next
created by Meruvian Developer (Eng.version) 19
20. To Ro
2.4.6 Find the location of Apache Tomcat that has been extracted by clicking Browse,
then click Next → Finish
2.4.7 Server has been made
created by Meruvian Developer (Eng.version) 20
21. To Ro
2.5 Creating Database
There are several ways to create MySQL database. We can use the command line,
PHP MyAdmin, or use MySQL Query Browser. If we use command line, you must memorize
the syntax to makeaa database. The Syntax is quite simple, CREATE DATABASE
database_name and ends with a semicolon. If you want to use MySQL Query Browser, follow
the instruction how to install and make a database below :
2.5.1 Select System → Administration → Synaptic Package → Manager
2.5.2 Install and download MySQL Query Browser
created by Meruvian Developer (Eng.version) 21
22. To Ro
2.5.3 To start creating a database, select Application → Programming → MySQL
Query Browser
created by Meruvian Developer (Eng.version) 22
23. To Ro
2.5.4 Default username : root, password : tulalit
2.5.5 Create database by right click → create schema
created by Meruvian Developer (Eng.version) 23
24. To Ro
Cimande 2.0 Quick Start Guide
BAB III
Running Cimande Project
created by Meruvian Developer (Eng.version) 24
25. To Ro
The Purpose
1. Know and understand how to create Cimande project from Maven Archetype
2. Know and understand how to generate schema use Maven Build
Learning Material
3.1 Running Cimande Project
For beginning, we will create Cimande project to display Cimande Admin form. Follow
the instruction below :
3.1.1 Open Eclipse Indigo, change the choice of Java EE to Java
3.1.2 Select File → New → Other → Maven → Project to create Maven project
created by Meruvian Developer (Eng.version) 25
26. To Ro
3.1.3 Put the cimande project that you will create in any directory, for example in
home/netoya/workspace by clicking Browse → Next
3.1.4 At the field Filter, type org.blueoxygen and automatically cimande-archetype-
blank will appear. Archetype is a template to create applications using Cimande.
created by Meruvian Developer (Eng.version) 26
27. To Ro
3.1.5 Insert field Group Id and Artifact Id. Field Group Id for the name of package, and
field Artifact Id for the name of project.
3.1.6 We need database configuration in the package src/main/resource →
Hibernate.properties, change the database with the database that you created.
created by Meruvian Developer (Eng.version) 27
28. To Ro
3.1.7 Right click Project → Run As → Maven Build to generate table schema. Insert
field Goals with command hibernate3:hbm2ddl
created by Meruvian Developer (Eng.version) 28
29. To Ro
3.1.8 To import data into database, use command initialize dbunit:operation
3.1.9 Start Server
3.1.10 Open web browser then type URL localhost:8080/cimande. Login as admin
with the username : admin, password : blueoxygen
created by Meruvian Developer (Eng.version) 29
30. To Ro
Cimande 2.0 Quick Start Guide
BAB IV
CIMANDE 2.0 CRUD
created by Meruvian Developer (Eng.version) 30
31. To Ro
The Purpose
1. Know and understand how to create Cimande project
2. Implement CRUD in Cimande project
Learning Material
4.1 CRUD Overview
This module will explain how to make an application with CRUD implementation (Create,
Read, Update, Delete) such as how to create new content, updating, deleting and searching
data. The standard mapping of each C, R, U and D is to perform data flow mapping from the
database to the Velocity like the following image:
4.2 Creating Package
We will create simple Cimande project to display someone's profile form. So we need
packages to save the java class. Create four packages in the package org.blueoxygen. They
are entity, dao, service dan controller.
• Package org.blueoxygen.entity
This package contains the entity class that serves as a link between framework with
the database. Creating table and all the variables that will be displayed in the database
declared here
created by Meruvian Developer (Eng.version) 31
32. To Ro
• Package org.blueoxygen.dao
Data Access Object (DAO) is an object that provides an abstract interface to a
database or persistence mechanisms and certain operations without showing details of
the database. The Implementation of this concept called separation of concern, where
each code is separated by the function so the code on it only needs to know abstractly
how to access data without knowing how access to data sources are implemented
• Package org.blueoxygen.service
Service is an object that serves to simplify the large code like a library. In the case of a
database we can use the Service to classify some of the DAO in a transaction
• Package org.blueoxygen.controller
Controller is a layer that works to set the "inter-layer" . This Layer is responsible for
application execution
created by Meruvian Developer (Eng.version) 32
33. To Ro
4.3 Creating Java Class
Create and save class in the package src/main/java
4.3.1 Create class Person.java in the package org.blueoxygen.entity
package org.blueoxygen.entity;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;
import org.blueoxygen.cimande.commons.DefaultPersistence;
/**
* @author Nety Herawaty
*
*/
@Entity
@Table(name = "module_person")
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
public class Person extends DefaultPersistence {
private String fname;
private String lname;
private String sex;
private Date birthdate;
private String address;
private String city;
private String country;
private String email;
private String phone;
public String getFname() {
return fname;
}
public void setFname(String fname) {
this.fname = fname;
}
public String getLname() {
return lname;
}
public void setLname(String lname) {
this.lname = lname;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public Date getBirthdate() {
return birthdate;
}
public void setBirthdate(Date birthdate) {
created by Meruvian Developer (Eng.version) 33
34. To Ro
this.birthdate = birthdate;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
}
4.3.2 Create class PersonDao.java in the package org.blueoxygen.dao
package org.blueoxygen.dao;
import java.util.List;
import org.blueoxygen.cimande.commons.LogInformation;
import org.blueoxygen.cimande.persistence.hibernate.dao.HibernatePersistenceDaoManager;
import org.blueoxygen.cimande.security.User;
import org.blueoxygen.entity.Person;
import org.hibernate.Criteria;
import org.hibernate.criterion.MatchMode;
import org.hibernate.criterion.Projections;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Repository;
/**
* @author Nety Herawaty
*
created by Meruvian Developer (Eng.version) 34
35. To Ro
*/
@Repository
public class PersonDao extends HibernatePersistenceDaoManager<Person> {
public void savePerson(Person person) {
if (person == null)
return;
if (person.getId() == null) {
createPerson(person);
} else if (person.getId().trim().equalsIgnoreCase("")) {
createPerson(person);
} else {
person.getLogInformation()
.setLastUpdateBy(getCurrentUser().getId());
person.getLogInformation().setLastUpdateDate(getCurretTime());
merge(person);
}
}
public long getPersonCountByCriteria(String fname, String lname) {
Criteria criteria = getPersonCriteria(fname, lname);
criteria.setProjection(Projections.rowCount());
return new Long(criteria.uniqueResult() + "");
}
@SuppressWarnings("unchecked")
public List<Person> getPersonByCriteria(String fname, String lname,
int limit, int page) {
return getPersonCriteria(fname, lname).setMaxResults(limit)
.setFirstResult((page 1) * limit).list();
}
private Criteria getPersonCriteria(String fname, String lname) {
Criteria criteria = sessionFactory.getCurrentSession().createCriteria(
Person.class);
criteria.add(Restrictions.like("fname", fname, MatchMode.ANYWHERE));
criteria.add(Restrictions.like("lname", lname, MatchMode.ANYWHERE));
return criteria;
}
private void createPerson(Person person) {
User user = getCurrentUser();
LogInformation logInformation = new LogInformation();
logInformation.setCreateBy(user.getId());
logInformation.setCreateDate(getCurretTime());
logInformation.setLastUpdateBy(user.getId());
logInformation.setLastUpdateDate(getCurretTime());
person.setId(null);
person.setLogInformation(logInformation);
persist(person);
}
}
created by Meruvian Developer (Eng.version) 35
36. To Ro
4.3.3 Create class PersonService.java in the package org.blueoxygen.service
package org.blueoxygen.service;
import java.util.List;
import org.blueoxygen.entity.Person;
/**
* @author Nety Herawaty
*
*/
public interface PersonService {
void savePerson(Person person);
void deletePerson(Person person);
Person getPersonById(String id);
long getPersonCount(String fname, String lname);
List<Person> getPersonList(String fname, String lname, int limit, int page);
}
4.3.4 Create class PersonServiceImpl.java in the package org.blueoxygen.service.impl
package org.blueoxygen.service.impl;
import java.util.List;
import org.blueoxygen.dao.PersonDao;
import org.blueoxygen.entity.Person;
import org.blueoxygen.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* @author Nety Herawaty
*
*/
@Service
@Transactional(readOnly = true)
public class PersonServiceImpl implements PersonService {
@Autowired
private PersonDao personDao;
@Transactional
public void savePerson(Person person) {
personDao.savePerson(person);
}
@Transactional
public void deletePerson(Person person) {
personDao.remove(person);
}
public Person getPersonById(String id) {
return personDao.getById(Person.class, id);
}
created by Meruvian Developer (Eng.version) 36
37. To Ro
public long getPersonCount(String fname, String lname) {
return personDao.getPersonCountByCriteria(fname, lname);
}
@Override
public List<Person> getPersonList(String fname, String lname, int limit,
int page) {
return personDao.getPersonByCriteria(fname, lname, limit, page);
}
}
4.3.5 Create class PersonController.java in the package org.blueoxygen.controller
package org.blueoxygen.controller;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import javax.swing.JOptionPane;
import org.blueoxygen.cimande.commons.CimandeModuleAction;
import org.blueoxygen.entity.Person;
import org.blueoxygen.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import com.opensymphony.xwork2.validator.annotations.RequiredStringValidator;
import com.opensymphony.xwork2.validator.annotations.Validations;
public class PersonController extends CimandeModuleAction {
@Autowired
private PersonService personService;
private Person person = new Person();
private int limit = 0;
private int page = 0;
SimpleDateFormat df = new SimpleDateFormat("ddMMyy");
public PersonController() {
model.put("person", person);
}
// POST /module/person/create
// POST /module/person/create/{id}
@Validations(requiredStrings = {
@RequiredStringValidator(fieldName = "person.fname", message = "First Name cannot be empty",
trim = true),
@RequiredStringValidator(fieldName = "person.lname", message = "Last Name cannot be empty",
trim = true) })
public String personPost() {
try {
person.setBirthdate(df.parse(model.get("birthdate").toString()));
} catch (ParseException e) {
// TODO Autogenerated catch block
e.printStackTrace();
}
personService.savePerson(person);
return SUCCESS;
}
// GET /module/person/create
// GET /module/person/edit/{id}
created by Meruvian Developer (Eng.version) 37
38. To Ro
public String personGet() {
model.put("person", personService.getPersonById(person.getId() + ""));
// model.put("itemCategorys", itemCategoryService.getAllItemCategory());
return INPUT;
}
// DELETE /module/person/edit/{id}
public String personDelete() {
personService.deletePerson(personService.getPersonById(person.getId()));
return SUCCESS;
}
// POST/GET /module/person/filter
public String filter() {
try {
limit = model.get("rows") == null ? 0 : new Integer(model.get(
"rows").toString());
page = model.get("page") == null ? 0 : new Integer(model
.get("page").toString());
} catch (NumberFormatException e) {
e.printStackTrace();
}
if (limit == 0 && page == 0) {
limit = 10;
page = 1;
}
model.put("rows", limit);
model.put("page", page);
int count = (int) personService.getPersonCount("", "");
int total = count / limit;
if (total % limit > 0)
total++;
System.out.println();
model.put("persons", personService.getPersonList("", "", limit, page));
if (total == 0)
total++;
model.put("total", total);
model.put("records", total);
return SUCCESS;
}
}
created by Meruvian Developer (Eng.version) 38
43. To Ro
});
});
</script>
</body>
</html>
4.5 Creating Data Flow Application
4.5.1 Mapping Entity in the packe src/main/resources/
cimande-hibernate-sample.xml
<?xml version='1.0' encoding='utf8'?>
<!DOCTYPE hibernateconfiguration PUBLIC
"//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernateconfiguration3.0.dtd">
<hibernateconfiguration>
<sessionfactory>
<mapping class="org.blueoxygen.entity.Person"/>
</sessionfactory>
</hibernateconfiguration>
4.5.2 Create data flow in the package src/main/resources/
cimande-struts-example.xml
<?xml version="1.0" encoding="UTF8" ?>
<!DOCTYPE struts PUBLIC
"//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts2.0.dtd">
<struts>
<package name="person" extends="cimandedefault" namespace="/module/person">
<action name="create" class="org.blueoxygen.controller.PersonController" method="person">
<result name="input" type="velocity">
/module/template/person/personcreate.vm
</result>
<result name="success" type="velocity">
/module/template/person/persongridlist.vm
</result>
</action>
<action name="filter/*" class="org.blueoxygen.controller.PersonController" method="filter">
<result name="input" type="redirect">
filter/${limit}/${page}
</result>
<result name="success" type="velocity">
/module/template/person/persongridlist.vm
</result>
</action>
created by Meruvian Developer (Eng.version) 43
44. To Ro
<action name="edit/*" class="org.blueoxygen.controller.PersonController" method="person">
<param name="person.id">{1}</param>
<result name="input" type="velocity">
/module/template/person/personcreate.vm
</result>
<result name="success" type="redirect">
/module/person/filter
</result>
</action>
</package>
</struts>
4.5.3 Start Server
4.6 Cimande BackEnd
Open web browser and enter the URL http://localhost:8181/person/ . Then login as
username : admin and password : blueoxygen to create module, menu, user manager and
others.
created by Meruvian Developer (Eng.version) 44
45. To Ro
There are several things to know in the BackEnd Cimande, such as :
• Site Manager
- Descriptor Manager : Descriptor
- Module Manager : Module Function
Role Manager
Role Privilage
Role Site Privilage
- Multi Site : Site
- User Management : Company
Job Position
User Manager
- Workflow Role : WF Role
created by Meruvian Developer (Eng.version) 45
46. To Ro
4.6.1 Descriptor Manager
Descriptor is used to automation of new and search action, that will be executed
based on the namespace declared in the struts-example.xml
Creating Descriptor:
1. Name : person
2. Description : Person
4.6.2 Module Function
Descriptor is used to create dynamic menu. The main menu use the thread
master id “master”, and submenu using the main menu / menu above as the
thread master id. If you want a menu to execute a new / search action, then add
the descriptor based on the descriptor that was made
created by Meruvian Developer (Eng.version) 46
47. To Ro
Creating Module Function :
1. Name : md_person
2. Description : Person
3. Thread Master Id : Master
4. Descriptor : person
4.6.3 Site
Site is used to create a site with the function to separate sites with each role that
has made
Creating Site :
1. Name : person_site
2. Description : Person Site
3. Workspace Type : tree
created by Meruvian Developer (Eng.version) 47
48. To Ro
4.6.4 WF Role
WF Role is used to create a role with the function to differentiate the access
rights of each user who has been registered within the Cimande Framework
Creating Role Person :
1. Name : person
2. Description : Person
3. Workspace Type : tree
created by Meruvian Developer (Eng.version) 48
49. To Ro
4.6.5 Role Manager
Role Manager is used to determine the site of the roles that has been made to
separate and sort out the menu are available for each different role
Creating Role Manager :
Log into the person module function that the located in the role manager, then
add the site with person_site by pressing view site → submit
created by Meruvian Developer (Eng.version) 49
51. To Ro
4.6.6 Role Privilage
Role Manager is used to determined the menu provided for the role selected by
the module function that has been made
Creating Role Privilage :
Log into the person module function that the located in the role privilage, then add
md_person in the field module function by pressing view site → submit
created by Meruvian Developer (Eng.version) 51
52. To Ro
4.6.7 Role Site Privilage
Role Site Privilage is used to determine or adding menu (Module Function) based
on the Role Privilage that has been made refer to the Site and appropriate with
the role
Creating Role Site Privilage :
Log into the person module function that the located in the role site privilage, then
add md_person in the field module function by pressing view site → submit
created by Meruvian Developer (Eng.version) 52
54. To Ro
4.6.8 User Manager
User Manager is used to create user registration into Cimande Workspace
Creating User Manager :
1. Login : person
2. Password : person
3. Confirm Password : person
4. First Name : Person
5. Company : Blueoxygen Tech
6. Position : Manager
7. Workspace Type : tree
created by Meruvian Developer (Eng.version) 54
55. To Ro
4.7 Result
Log out from the admin form, then login with the username : person, password : person
created by Meruvian Developer (Eng.version) 55
56. To Ro
4.7.1 CREATE
Select the new menu to display someone's profile form
4.7.2 READ
If the save button is pressed, then the data already entered will be displayed
created by Meruvian Developer (Eng.version) 56
57. To Ro
4.7.3 UPDATE
Select the search menu to display all the data ever entered. If you want to update
the data, click one of the data to be edited and automatically form will be moved to
create form
created by Meruvian Developer (Eng.version) 57