Setting Up Your Development Environment

Size: px
Start display at page:

Download "Setting Up Your Development Environment"

Transcription

1 APPENDIX A Setting Up Your Development Environment This appendix helps you set up the development environment that you will use to write, compile, and execute the Spring applications discussed in this book. Introducing Project pro-spring-15 Project pro-spring-15 is a three-level Gradle project. pro-spring-15 * is the root project and is the parent of the projects named chapter02 through chapter18. Each of these chapter** projects is also a parent project for the module projects nested under it. The project was designed in this way to help you get oriented with the code and easily match each chapter to the source code associated with it. * At the time when this Appendix was being written, the project was still in raw form. It was later completed, renamed to pro-spring-5 and hosted on the Apress official repository located at: All written above is still valid, except for the project name. Iuliana Cosmina, Rob Harrop, Chris Schaefer, and Clarence Ho 2017 I. Cosmina et al., Pro Spring 5, 829

2 APPENDIX A Setting Up Your Development Environment Figure A-1 shows the project structure. Figure A-1. pro-spring-15 project structure in Intellij IDEA 830

3 Understanding the Gradle Configuration APPENDIX A Setting Up Your Development Environment The pro-spring-15 project defines a set of libraries available for the child modules to use, and it has the Gradle configuration in a file typically named build.gradle. All the modules on the second level (in other words, the chapter** projects) have a Gradle configuration file named [module_name].gradle (for example, chapter02.gradle) so you can quickly find the configuration file with the settings that are common to the projects for that chapter. Also, there s a closure element in pro-spring-15/settings.gradle that verifies at build time that all chapter modules have their configuration file present. rootproject.children.each { project -> project.buildfilename = "${project.name.gradle" assert project.projectdir.isdirectory() assert project.buildfile.exists() assert project.buildfile.isfile() If a Gradle build file is not named the same as the module, then when executing any Gradle task, an error is thrown. The error is similar to the one depicted in the following code snippet, where the chapter02. gradle file was renamed to chapter02_2.gradle: $ gradle clean FAILURE: Build failed with an exception. * Where: Settings file '/workspace/pro-spring-15/settings.gradle' line: 328 * What went wrong: A problem occurred evaluating settings 'pro-spring-15'. > assert project.buildfile.exists false /workspace/pro-spring-15/chapter02/chapter02.gradle :chapter02 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED in 0s This was a development choice; the configuration file of a chapter module is more visible in an editor this way. Plus, if you want to modify the configuration file for a chapter module, you can easily find the file in IntelliJ IDEA using a unique name. In the pro-spring-15 project, each module on the third level (in other words, the children of chapter**) has a Gradle configuration file named build.gradle. This was also a development choice; in Gradle, having uniquely named Gradle configuration files is not possible at this level in this particular configuration. Another approach for a multimodular project would have been to have in the main build.gradle file specific closures to customize the configuration for each module. But in the spirit of good development practices, we decided to keep the configurations for the modules as decoupled as possible and in the same location as the module contents. 831

4 APPENDIX A Setting Up Your Development Environment The pro-spring-15/build.gradle configuration file contains a variable for each software version being used. These variables are used to customize the dependency declaration strings that are grouped in arrays named for a specific purpose or technology. This file also contains a list of public repositories from where the dependencies are downloaded. In the following configuration, you can see the versions and the array for the persistency libraries used in the project: ext {... //persistency libraries hibernateversion = ' Final' hibernatejpaversion = '1.0.0.Final' hibernatevalidatorversion = '5.4.1.Final' //6.0.0.Beta2 atomikosversion = '4.0.4' hibernate = [ validator : "org.hibernate:hibernate-validator:$hibernatevalidatorversion", jpamodelgen: "org.hibernate:hibernate-jpamodelgen:$hibernateversion", ehcache : "org.hibernate:hibernate-ehcache:$hibernateversion", em : "org.hibernate:hibernate-entitymanager:$hibernateversion", envers : "org.hibernate:hibernate-envers:$hibernateversion", jpaapi : "org.hibernate.javax.persistence:hibernate-jpa-2.1-api: $hibernatejpaversion", querydslapt: "com.mysema.querydsl:querydsl-apt:2.7.1", tx : "com.atomikos:transactions-hibernate4:$atomikosversion" ]... subprojects { version '5.0-SNAPSHOT' repositories { mavenlocal() mavencentral() maven { url " maven { url " maven { url " maven { url " maven { url " tasks.withtype(javacompile) { options.encoding = "UTF-8" In the projects on the second level of the hierarchy (in other words, the chapter** projects), you ll find the chapter**.gradle configuration files. These dependencies are referred to by their array name and the name associated with then. These files also contain the project group name that is specific to that chapter, additional plug-ins, and extra Gradle tasks. Here you can see the chapter08.gradle file: 832

5 APPENDIX A Setting Up Your Development Environment subprojects { group 'com.apress.prospring5.ch08' apply plugin: 'java' /*Task that copies all the dependencies under build/libs */ task copydependenciestype: Copy { from configurations.compile into 'build/libs' dependencies { if!project.name.contains"boot" { compile spring.contextsupport { exclude module: 'spring-context' exclude module: 'spring-beans' exclude module: 'spring-core' compile spring.orm, spring.context, misc.slf4jjcl, misc.logback, db.h2, misc.lang3, hibernate.em testcompile testing.junit The if (!project.name.contains("boot")) is necessary here because under project chapter08 one or more Spring Boot projects are nested, and as Spring Boot comes with its own fixed set of dependencies and versions for them, you do not want the configuration defined in this file to be inherited, which can lead to conflicts or unpredictable behavior. For projects on the third level, you can further customize the configurations inherited from the chapter** parent by adding their own dependencies and declaring their own manifest file specifications, their own plug-ins, and their own tasks. The following is a simple file called chapter12\spring-invoker\ build.gradle (if you want to check out a heavily customized Gradle configuration, check out the chapter08\jpa-criteria\build.gradle file): apply plugin: 'war' dependencies { compile project(':chapter12:base-remote') compile spring.webmvc, web.servlet testcompile spring.test war { archivename = 'remoting.war' manifest { attributes("created-by" : "Iuliana Cosmina", "Specification-Title": "Pro Spring 5", "Class-Path" : configurations.compile.collect { it.getname().join(' ')) 833

6 APPENDIX A Setting Up Your Development Environment Building and Troubleshooting After you clone the source code (or download it), you need to import the project in the IntelliJ IDEA editor. To do this, follow these steps: 1. Select from the Intellij IDEA menu File New Project from Existing Sources (as shown in Figure A-2). Figure A-2. Project import menu options in Intellij IDEA After selecting the proper option, a pop-up window will appear requesting the location of the project (as shown in Figure A-3). Figure A-3. Selecting the project root directory pop-up in Intellij IDEA Select the pro-spring-15 directory. A pop-up will ask for the project type. Intellij IDEA can create its own type of project from the selected sources and build it with its internal Java builder, but this option is not useful here because pro-spring-15 is a Gradle project.

7 APPENDIX A Setting Up Your Development Environment 3. Check the Import project from external model radio button and select Gradle from the menu, as depicted in Figure A-4. Figure A-4. Selecting the project type Intellij IDEA 4. The last pop-up window will appear and ask for the location of the build.gradle file and the Gradle executable. The options will be already populated for you (as shown in Figure A-5). If you have Gradle installed on the system, you might want to use it. Figure A-5. Last pop-up for project import in Intellij IDEA Before getting to work, you should build the project. This can be done from Intellij IDEA by clicking the Refresh button, as shown by the (1) in Figure A-6. Clicking this button will cause IntelliJ IDEA to scan the configuration of the project and resolve dependencies. This includes downloading missing libraries and doing an internal light build of the project (just enough to remove compile-time errors caused by missing dependencies). 835

8 APPENDIX A Setting Up Your Development Environment The Gradle compilejava task, marked with (3) in Figure A-6, executes a full build of the project. You can also do the same this from the command line, by executing the Gradle build command, as depicted below:.../workspace/pro-spring-15 $ gradle build Or you can do this from Intellij IDEA, by double clicking the build task, as depicted by the (2) in Figure A-6. Figure A-6. Last pop-up for project import in Intellij IDEA 836

9 APPENDIX A Setting Up Your Development Environment This will execute the following set of tasks on every module: :chapter02:hello-world:compilejava :chapter02:hello-world:processresources :chapter02:hello-world:classes :chapter02:hello-world:jar :chapter02:hello-world:assemble :chapter02:hello-world:compiletestjava :chapter02:hello-world:compiletestresources... In the previous example, the tasks were depicted only for module chapter02. The Gradle build task will execute all the tasks it depends on. As you can see, it does not run the clean task, so you need to make sure to run this task manually multiple times when building a project to make sure the most recent versions of the classes are used. Because this project contains tests that were designed to fail, executing this task will fail. You can instead just execute tasks clean and compilejava. Another option is to execute the Gradle build task, but to skip the tests using "-x" argument:.../workspace/pro-spring-15 $ gradle build -x test Deploy on Apache Tomcat There are a few web applications under the pro-spring-15 project. Most of them are Spring Boot applications that run on an embedded server. But there are certain advantages in using an external container like the Apache Tomcat server. Starting the server in debug mode and using breakpoints to debug an application is much easier to do, but that s only one advantage. An external container can run multiple applications at a time without the need to stop the server. Embedded servers are useful for testing, fast development, and educational purposes, like Spring Boot is, but in production, application servers are preferred. 837

10 APPENDIX A Setting Up Your Development Environment Here is what you have to do if you are interested in using an external server. First download the latest version of Apache Tomcat from the official site. 1 You can get version 8 or 9; they will both work with the sources of this book. Unpack the archive somewhere on your system. Then configure an IntelliJ IDEA launcher to start the server and deploy the chosen application. This is quite easy to do; follow these steps: 1. From the runnable configuration menu, choose Edit Configurations, as shown by (1) in Figure A-7. A pop-up window will appear and list a set of launchers. Click the plus (+) sign and select the Tomcat Server option. The menu will expand; select Local, as shown by (2) in Figure A-7, because you are using a server installed on your computer. Figure A-7. Menu options to create a Tomcat launcher in Intellij IDEA 2. A pop-up window like the one in Figure A-8 will appear and will request some information. 1 The Apache Tomcat official site is at 838

11 APPENDIX A Setting Up Your Development Environment Figure A-8. Pop-up to create a Tomcat launcher in Intellij IDEA In Figure A-8, you ll see that some items are numbered. Here is what the numbers mean: 1 is the launcher name. You can put anything here, preferably the name of the application you are deploying. 2 is the Tomcat instance name. 3 is the button that will open the pop-up window to insert the Tomcat instance location, as depicted in Figure A-9. Figure A-9. Configuring the Tomcat instance in Intellij IDEA 839

12 APPENDIX A Setting Up Your Development Environment 4 is the URL where the Tomcat server can be accessed. 5 is the Fix button, which is used to choose an artifact to deploy on the Tomcat instance. If there is no web archive set to be deployed to Tomcat, this button will be displayed with a red lightbulb icon on it. 3. Click the Fix button and select an artifact. IntelliJ IDEA will detect all artifacts available (Figure A-10) and present them to you in a list. If you intend to open the server in debug mode and use breakpoints in the code, select an artifact with the name postfixed with (exploded); this way, Intellij IDEA manages the contents of the exploded WAR and can link the actions in the browser with the breakpoints in the code. Figure A-10. Deployable artifact list in Intellij IDEA 4. Complete the configuration by clicking the OK button. You can specify a different application context by inserting a new value in the Application Context field. Choosing a different application context will tell Tomcat to deploy the application under the given name. The application will be accessible via this URL: Other application servers can be used in a similar way as long as IntelliJ IDEA provides plug-ins for them. Launcher configurations can be duplicated, and multiple Tomcat instances can be started at the same time as long as they function on different ports, which can make for faster testing and comparisons between implementations. IntelliJ IDEA is really flexible and practical, and that s why we recommend it for practicing the exercises in this book. The Gradle projects can also be imported in Eclipse and other Java editors that support Gradle. 840

13 Index A Advanced Message Queuing Protocol (AMQP) JMS, 606 rabbitlistenercontainerfactory, RabbitMQ, 608, 611 RPC calls, 608 Spring Boot, WeatherService, XML configuration, 609 After-returning advice KeyGenerator, SimpleAfterReturningAdvice, ApplicationContext interface ApplicationEvent, event usage, features, 167 getmessage(), 170 MessageSource, 168, 170 ApplicationContextAware interface, Application programming interfaces (APIs), 10 Around advice MethodInterceptor, 227 ProfilingDemo, ProfilingInterceptor, AspectJ AnnotationAdvice, aop namespace, 286 AOP configuration, 291 configuration, Java configuration, pointcut expression, 246 singleton aspects, Spring Boot, test methods, Aspect-oriented programming (AOP), 2, 10 advice types, 218 after-returning, around, before, throws, AgentDecorator, alliance, 214 aop namespace advice class, 278 configuration, 281 MethodBeforeAdvice, 278 MethodInterceptor, 282 pointcut, 283 simplebeforeadvice, 279 sing(), 280 declarative configuration, 271 definition, dynamic, 213 introductions (see IntroductionInterceptor) joinpoints, 216 OOP, 211 ProxyFactory class, 217 static, 213 AssertTrue, 534 Auditing strategies, B BatchSqlUpdate class insertwithalbum(), test method, Bean life-cycle management ApplicationContext, 130 default-init-method, 131 destruction, 139 initialization callback, 128 InitializingBean, init-method, interface mechanism, 127 JSR-250, post-initialization and pre-destruction, 127 Bean-managed transactions (BMTs), 467 Before advice SecureBean, 221, SecurityAdvice, Iuliana Cosmina, Rob Harrop, Chris Schaefer, and Clarence Ho 2017 I. Cosmina et al., Pro Spring 5, 841

14 INDEX Before advice (cont.) SecurityManager, SimpleBeforeAdvice, 219 sing(), 220 BookwormOracle class, 43 C Castor 586 field handler, mapping file, properties, 586 SingerController, Spring web application, CGLIB, ClassPathXmlApplicationContext, 34 Closure, 639, Container-managed transactions (CMTs), 467 Contextualized dependency lookup (CDL), curl command, D Data Access Object (DAO), 2 components, 317 JdbcSingerDao, service layer, 735 Spring Boot, Spring Security, web layer, Database connections. See DataSource Database operation. See Query data DataSource configuration, DAO (see Data Access Object (DAO)) DriverManagerDataSource, 310 embedded database, JNDI data source, 314 test class, DbUnit, DefaultPointcutAdvisor, 236 Dependency injection (DI) annotations, bean naming, AOP, 10 ApplicationContext, 48, 49 autowiring, BeanFactory Implementations, bean inheritance, bean instantiation mode, bean-naming structure, bean scope, 108 collection injection, components, 50 52, 54 configuration options, 49 constructor, 40 constructor injection, EL, 11 field injection, injecting beans, injecting simple values, injection and ApplicationContext nesting, injection parameters, 66 interface-based design, 8 Java 9, 10 JavaBeans (POJOs), 8 Java configuration, Lookup Method Injection, Method Injection, 84 Method Replacement, resolve dependencies, setter injection, 41, SpEL, XML configuration, 49 Destroy-method destructivebean, DisposableBean, GenericXmlApplicationContext, shutdown hook, 146 Development environment gradle configuration file, Intellij IDEA application, 838 deployable artifact, 840 pop-up window, 834, project import, project type, 835 Tomcat launcher, 838 project pro-spring-15, displayinfo() method, 78, 88 dosomething() method, 86 DyanmicMethodMatcherPointcut, Dynamic language code, 652, 654 E Enterprise integration patterns (EIP), 17 Enterprise JavaBeans (EJB), 2 EntityManagerFactory, 479 Entity Versioning. See Hibernate Envers Environment abstraction. See PropertySource abstraction Expression Language (EL),

15 INDEX F FactoryBeans accessing, 156 factory-method attributes, MessageDigester configuration, implementation, 152 issingleton() property, 153 Java configuration, 155 factory-method attributes, Field formatting ConversionServiceFactoryBean, custom formatter, Field injection, 41, formatmessage() method, 92 Front-end unit test, 637 G GenericXmlApplicationContext, 54, 88 getfriendlyname() method, 81 getmysinger() method, 86 Google Web Toolkit (GWT), 13 Groovy, closure, dynamic typing, 642 Spring age category rule, DSLs, dynamic language code, 652, 654 rule engine, rule factory, syntax, 643 H Hibernate Envers adding tables, auditing strategies, 452 EntityManagerFactory, history retrieval, properties, testing, Hibernate module AbstractEntity, annotating entity and fields, 390 configuration DatabasePopulator, 388 data source, DbIntializer, 389 entities, 386, 389 in-memory database, 388 data model, deleting data, 384, 386 inserting data, internal mechanism, 391 JCP, 355 mapping (see Object-relational mapping (ORM)) properties, SessionFactory, session interface (see Session interface) updating data, Hibernate Query Language (HQL), 372 I InitializingBean afterpropertiesset(), 138 init-method, Integration test configuration class, dependencies, 623 infrastructure classes, 627 Java configuration, service-layer testing, TestExecutionListener, IntelliJ IDEA, 831 Interface-based design evolution, 8 9 IntroductionInterceptor Advisor, Contact, 264 interface structure, 264 IsModified, 266 mixin, object modification detection, per-instance, PointcutAdvisor, 264 Inversion of control (IoC), 1 capabilities bean life cycle, 125 configuration enhancements, 126 FactoryBeans, 125 Groovy, 126 JavaBeans PropertyEditors, 125 Java classes, 126 portability, Spring ApplicationContext, 126 Spring aware, 125 Spring Boot, 126 CDL, dependency injection, 45 dependency pull, 38 injection vs. lookup, setter injection vs. constructor injection, IsModified interface,

16 INDEX J Java 9, 10 interoperability, 774, 811 reactive programming with, support for, 10 Java classes ApplicationContext AppConfigOne, MessageRenderer, StandardOutMessageRenderer, static internal class, XML configuration, Spring mixed configuration, Java Community Process (JCP), 8 Java Database Connectivity (JDBC), 2 extensions, 350 generated key, implementation, 297 lambda expression, 329 MySQL, 305 ORM, 350 PlainSingerDao, 307 relational database, 297 simple data model database, 300 DEBUG level, 303, 304 entities, entity-relationship, 298 MySQL, 299 resources, 299 SingerDao, Spring Boot, used packages, Java Data Objects (JDO), 2, 355 Java Development Kit (JDK), 21 proxies, 250 Java Enterprise Edition (JEE), 1 Java Management Extensions (JMX) monitoring hibernate statistics, JEE applications, 655 managed beans, 655 Spring bean, Spring Boot, , 664 VisualVM, Java Message Service (JMS) configuration classes, Gradle configurations, 570 HornetQ, queue, 570 sending messages, topic, 570 Java Persistence API (JPA), 355 criteria API CriteriaBuilder, 426 CriteriaQuery.from(), 426 CriteriaQuery.select(), 426 execution, 428 findbycriteriaquery(), meta-model class, predicate, 426 Root.fetch(), 426 testing, 427 Spring Boot adding dependencies, configuration, DBInitializer, InstrumentRepository, run(), 465 SingerRepository, Java Runtime Environment (JRE), 21 Java Standard Tag Library (JSTL), 13 Java Transaction API (JTA) transactions configuration, 491, EntityManagerFactory, 494 findall(), 498 infrastructure, 491 principle, 507 rollback, save(), ServicesConfig, 494, 496 Spring Boot, 501, testing, 499 UserTransactionService, 496 Java Transaction Service (JTS), 469 Java virtual machine (JVM), 21 JdbcTemplate class DAO class, DAO implementation, 331 datasource, 332 JSR-250 annotation, 331 named parameters, 324 RowMapper<T>, JEE 7 container 7, 18 JPA 2.1 component scan, 398 datasource bean, 398 EntityManagerFactory, native queries, ORM mapping, 398, 400 query data createquery(), deleting data, findall(), 404 findallwithalbum(), 406,

17 INDEX findbyid(), 409 getsingleresult(), 409 inserting data, SingerService, SingerSummary, testfindall(), 406 testfindallwithalbum(), 408 TypedQuery.getResultList(), 405 untyped results, updating data, transactionmanager bean, 398 JpaRepository, 436 jquery and jquery UI CKEditor, jqgrid, pagination SingerController, SingerGrid, SingerService, 718 view, JSR-352, JSR-250 annotations, JSR-330 annotations, 201 MessageProvider and ConfigurableMessageProvider, 198 MessageRenderer and StandardOutMessageRenderer, 199 JSR-349 bean validation, 527 K KeyHelper instance, 85 L Logic unit tests create(), dependencies, 619 listdata(), MVC controllers, 620 M Many-to-many mappings, MappingSqlQuery<T> SelectAllSingers, setdatasource(), SqlUpdate, test method, Message-oriented middleware (MOM), 606 MessageSourceResolvable interface, 171 Mixin, Model-View-Controller (MVC), 2, N Native queries create and execute, 421 SQL ResultSet mapping findallbynativequery(), 421 NewsletterSender interface, 44 O Object modification detection, Object-relational mapping 364 data model, 364 JPA annotations, 398, 400 libraries, 355 many-to-many mappings, one-to-many mappings, simple mapping, 364 Album class, Singer class, Object/XML Mapping (OXM), 12, 23 One-to-many mappings, P performlookup(), 40 PicoContainer, 17 PlatformTransactionManager, Pointcuts Advisors and, AnnotationMatching Pointcut, AspectJ s pointcut expression, 246 ClassFilter, 234 composable, control flow, DefaultPointcutAdvisor, 236 DyanmicMethodMatcher Pointcut, implementations, name matching, ProxyFactory, 233 regular expressions, StaticMethodMatcherPointcut, Project object model (POM), 20, 362 PropertyEditor configuration, custom, 164, implementations, spring-beans, String,

18 INDEX PropertySource abstraction ApplicationContext, 193 AppProperty, 196 MutablePropertySources, 195 ProxyFactoryBean class ApplicationContext, 274 configuration, implementation, introductions, ProxyFactory class CGLIB, JDK, 250 performance, testing, 255 Q Query data createquery(), deleting data, findall(), 404 findallwithalbum(), 406, 408 inserting data, SingerService, SingerSummary, testfindall(), 406 testfindallwithalbum(), TypedQuery.getResultList(), 405, 406 updating data, R RabbitMQ connection, 608 Refreshable beans, 648 Remoting support AMQP (see Advanced Message Queuing Protocol (AMQP)) ContactService configuration, HttpInvokerConfig, 567 SingerService, Spring HTTP invoker, data model, dependencies, RESTful-WS curl, dependencies, 580 manipulating resources, 580 RestTemplate, Spring Boot, Spring MVC, Spring security, XMLHttpRequest and properties, 581 RestTemplate class, ResultSetExtractor interface findallwithalbums(), lambda expressions, 329 test class, Rich Internet applications (RIAs), 13 S Scripting support Groovy (see Groovy) in Java, Selenium, 638 Service layer DAO, 670 data model, SingerService, Session interface querying associations fetching, HQL, 372 lazy fetching, SingerDaoImpl class, 371 setdependency() method, 41 setoracle() method, 74 Simple (or Streaming) Text-Oriented Message Protocol (STOMP) MVC controller, , 769 stock-ticker application, WebConfig, Spring community, 15 Context, 2 data access, 12 description, 1 dynamic scripting support, 14 GitHub, 20 Google Guice, 17 guides, 19 inversion of control, 1 JAR files, 19 Java developers, 1 JBoss Seam Framework, 17 JDK, 21 JEE, 13 JEE 7, 18 job scheduling support, 14 mail support, 14 MVC, web tier, 13 object/xml mapping, 12 origins of spring, 15 packaging options, 19 PicoContainer, 17 remoting support,

19 INDEX simplified exception handling, 15 Spring 0.9, 2 Spring Batch and integration, 17 Spring Boot, 16 Spring Core, 2 Spring GitHub repository, 20 Spring Security project, 16 Spring 1.x, 2 Spring 2.x, 2 Spring 2.5.x, 3 4 Spring 3.0.x, 4 Spring 3.1.x, 5 Spring 3.2.x, 5 Spring 4.0.x, 6 Spring 4.2.x, 6 7 Spring 4.3.x, 7 Spring 5.0.x, 7 STS, 16 test suite and documentation, 19 transaction management, 13 validation, 11 WebSocket support, 14 Spring aware ApplicationContext, 147 BeanNameAware, Spring Batch chunk-oriented processing, 774 configuration, DataSourceConfig, Gradle configuration, ItemProcessor, JSR-352 (see JSR-352) scaling and parallel processing, 775 Spring Boot, 16, ApplicationContext, 206 Artemis, configurations, 205 Gradle Projects, 205, opinionated approach, 204 RESTful-WS, Spring Data JPA custom queries AuditorAwareBean, 444, 437 SINGER_AUDIT, SingerAuditRepository, 447 SingerAuditService, testing, 439, library dependencies, 429 repository abstraction, Spring Expression Language (SpEL), 4, Spring Framework features, 798 functional web framework content-type text/ event-stream, 809 handler function, repository implementation, REST controller, RouterFunctions, 807 types of data streams, 799 WebFlux, Java 9, 811 WebFlux, Spring Integration configuration, JUnit 5 FluxGenerator, TestEngine, WebTestClient, Message, Spring modules application, 24 ApplicationContext configuration, 32 configuration classes, getbean() method, 33 Gradle, 26 Hello World application, JAR files, ListableBeanFactory, 31 Maven repository, MessageProvider interface, 32 MessageRenderer interface, 28, 31 spring-context.jar, 33 spring documentation, 26 StandardOutMessageRenderer, Spring MVC configuration, DispatcherServlet, file upload support configuration, modifying controllers, modifying views, folder structure, 686 life cycle, list view, SingerController, Tiles, view, WebApplicationContext, Spring profiles FoodProviderService, Java configuration, Spring Security,

20 INDEX configuration, login functions, project, 16 secure controller methods, 731 Spring testing annotations, 618 categories, DbUnit, front-end unit test, 637 integration test configuration class, dependencies, 623 infrastructure classes, 627 Java configuration, service-layer testing, TestExecutionListener, logic unit tests create(), dependencies, 619 listdata(), MVC Controllers, 620 unit test, service layer, Spring Tool Suite (STS), 16 Spring transaction abstraction layer, Spring type conversion arbitrary types, ConversionService, configure, custom converter, PropertyEditors, Spring XD, SQLException class, SqlFunction class, StandardLookupDemoBean class, 89 StaticMethodMatcherPointcut class, T Task Scheduling annotation, AppConfig, 546 asynchronous task execution, CarService, 544 CrusRepository, 543 DBInitializer, dependencies, execution, JPA entity, TaskExecutor, task-namespace, 545 TaskScheduler abstraction, 539 trigger, task, and scheduler, 539 Theming and templating, Throws advice, Thymeleaf extensions, fragments, Spring Boot, Webjars, Transaction management AOP configuration, data model classes, , 480 countall(), 485 findall(), 482 findbyid(), 484 save(), 483 Spring JPA project, 473 annotation, declarative approach, 490 global transactions JTA transactions (see Java Transaction API (JTA) transactions) PlatformTransactionManager, programmatic transactions, Spring transaction abstraction layer, TransactionDefinition interface, TransactionStatus interface, U Unit test, service layer, UnsatisfiedDependencyException, 116 V Validation, Spring AssertTrue, 534 bean validation, custom validator, dependencies, 510 JSR-349, 527, 535 object properties, Spring validator interface, testing, W, X, Y, Z Web applications DAO (see Data Access Object (DAO)) i18n configuration, List View, JSR-349, requirements, 665 service layer, 735 SingerService, singer view 848

21 INDEX adding, 708 edit, show(), Spring Boot, Thymeleaf views (see Thymeleaf) URLs views, 699 view templating, WebSocket API front-end application, Java configuration, 753 SockJS, Spring MVC, TextWebSocketHandler, 757 WebSocketConfigurer, STOMP,

Introduction to Spring Framework: Hibernate, Web MVC & REST

Introduction to Spring Framework: Hibernate, Web MVC & REST Introduction to Spring Framework: Hibernate, Web MVC & REST Course domain: Software Engineering Number of modules: 1 Duration of the course: 50 hours Sofia, 2017 Copyright 2003-2017 IPT Intellectual Products

More information

Introduction to Spring Framework: Hibernate, Spring MVC & REST

Introduction to Spring Framework: Hibernate, Spring MVC & REST Introduction to Spring Framework: Hibernate, Spring MVC & REST Training domain: Software Engineering Number of modules: 1 Duration of the training: 36 hours Sofia, 2017 Copyright 2003-2017 IPT Intellectual

More information

Spring & Hibernate. Knowledge of database. And basic Knowledge of web application development. Module 1: Spring Basics

Spring & Hibernate. Knowledge of database. And basic Knowledge of web application development. Module 1: Spring Basics Spring & Hibernate Overview: The spring framework is an application framework that provides a lightweight container that supports the creation of simple-to-complex components in a non-invasive fashion.

More information

configuration, 153 example, 152 testing, 153 Expression Language (EL), 8 Extract, Transform and Load (ETL), 664

configuration, 153 example, 152 testing, 153 Expression Language (EL), 8 Extract, Transform and Load (ETL), 664 Index A AbstractLookupDemoBean class, 74 Advanced Message Queuing Protocol (AMQP) AmqpRpcSample Class, 531 RabbitMQ, 492, 529 WeatherService configuration, 530 531 implementation, 530 interface, 529 Advice

More information

Struts: Struts 1.x. Introduction. Enterprise Application

Struts: Struts 1.x. Introduction. Enterprise Application Struts: Introduction Enterprise Application System logical layers a) Presentation layer b) Business processing layer c) Data Storage and access layer System Architecture a) 1-tier Architecture b) 2-tier

More information

Fast Track to Spring 3 and Spring MVC / Web Flow

Fast Track to Spring 3 and Spring MVC / Web Flow Duration: 5 days Fast Track to Spring 3 and Spring MVC / Web Flow Description Spring is a lightweight Java framework for building enterprise applications. Its Core module allows you to manage the lifecycle

More information

Spring Interview Questions

Spring Interview Questions Spring Interview Questions By Srinivas Short description: Spring Interview Questions for the Developers. @2016 Attune World Wide All right reserved. www.attuneww.com Contents Contents 1. Preface 1.1. About

More information

Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX

Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject

More information

ADVANCED JAVA TRAINING IN BANGALORE

ADVANCED JAVA TRAINING IN BANGALORE ADVANCED JAVA TRAINING IN BANGALORE TIB ACADEMY #5/3 BEML LAYOUT, VARATHUR MAIN ROAD KUNDALAHALLI GATE, BANGALORE 560066 PH: +91-9513332301/2302 www.traininginbangalore.com 2EE Training Syllabus Java EE

More information

Introduction to Spring 5, Spring MVC and Spring REST

Introduction to Spring 5, Spring MVC and Spring REST Introduction to Spring 5, Spring MVC and Spring REST Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject to GST/HST Delivery Options: Attend

More information

Java J Course Outline

Java J Course Outline JAVA EE - J2SE - CORE JAVA After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? CHAPTER 1: INTRODUCTION What is Java? History Versioning The

More information

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP 2013 Empowering Innovation DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP contact@dninfotech.com www.dninfotech.com 1 JAVA 500: Core JAVA Java Programming Overview Applications Compiler Class Libraries

More information

Desarrollo de Aplicaciones Web Empresariales con Spring 4

Desarrollo de Aplicaciones Web Empresariales con Spring 4 Desarrollo de Aplicaciones Web Empresariales con Spring 4 Referencia JJD 296 Duración (horas) 30 Última actualización 8 marzo 2018 Modalidades Presencial, OpenClass, a medida Introducción Over the years,

More information

Web Application Development Using Spring, Hibernate and JPA

Web Application Development Using Spring, Hibernate and JPA Web Application Development Using Spring, Hibernate and JPA Duration: 5 Days Price: 1,995 + VAT Course Description: This course provides a comprehensive introduction to JPA (the Java Persistence API),

More information

Web Application Development Using Spring, Hibernate and JPA

Web Application Development Using Spring, Hibernate and JPA Web Application Development Using Spring, Hibernate and JPA Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject to GST/HST Delivery Options:

More information

Specialized - Mastering Spring 4.2

Specialized - Mastering Spring 4.2 Specialized - Mastering Spring 4.2 Code: Lengt h: URL: TT3330-S4 5 days View Online The Spring framework is an application framework that provides a lightweight container that supports the creation of

More information

Spring framework was initially written by Rod Johnson and was first released under the Apache 2.0 license in June 2003.

Spring framework was initially written by Rod Johnson and was first released under the Apache 2.0 license in June 2003. About the Tutorial Spring framework is an open source Java platform that provides comprehensive infrastructure support for developing robust Java applications very easily and very rapidly. Spring framework

More information

SPRING MOCK TEST SPRING MOCK TEST I

SPRING MOCK TEST SPRING MOCK TEST I http://www.tutorialspoint.com SPRING MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Spring Framework. You can download these sample mock tests at

More information

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module Java Platform, Enterprise Edition 5 (Java EE 5) Core Java EE Java EE 5 Platform Overview Java EE Platform Distributed Multi tiered Applications Java EE Web & Business Components Java EE Containers services

More information

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline Advanced Java Database Programming JDBC overview SQL- Structured Query Language JDBC Programming Concepts Query Execution Scrollable

More information

Web Application Development Using Spring, Hibernate and JPA

Web Application Development Using Spring, Hibernate and JPA Web Application Development Using Spring, Hibernate and JPA Duration: 5 Days Price: CDN$3275 *Prices are subject to GST/HST Course Description: This course provides a comprehensive introduction to JPA

More information

Enterprise Java Development using JPA, Hibernate and Spring. Srini Penchikala Detroit JUG Developer Day Conference November 14, 2009

Enterprise Java Development using JPA, Hibernate and Spring. Srini Penchikala Detroit JUG Developer Day Conference November 14, 2009 Enterprise Java Development using JPA, Hibernate and Spring Srini Penchikala Detroit JUG Developer Day Conference November 14, 2009 About the Speaker Enterprise Architect Writer, Speaker, Editor (InfoQ)

More information

com Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/-

com Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/- www.javabykiran. com 8888809416 8888558802 Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/- Java by Kiran J2EE SYLLABUS Servlet JSP XML Servlet

More information

JVA-117A. Spring-MVC Web Applications

JVA-117A. Spring-MVC Web Applications JVA-117A. Spring-MVC Web Applications Version 4.2 This course enables the experienced Java developer to use the Spring application framework to manage objects in a lightweight, inversion-of-control container,

More information

JAVA. 1. Introduction to JAVA

JAVA. 1. Introduction to JAVA JAVA 1. Introduction to JAVA History of Java Difference between Java and other programming languages. Features of Java Working of Java Language Fundamentals o Tokens o Identifiers o Literals o Keywords

More information

Spring Persistence. with Hibernate PAUL TEPPER FISHER BRIAN D. MURPHY

Spring Persistence. with Hibernate PAUL TEPPER FISHER BRIAN D. MURPHY Spring Persistence with Hibernate PAUL TEPPER FISHER BRIAN D. MURPHY About the Authors About the Technical Reviewer Acknowledgments xii xiis xiv Preface xv Chapter 1: Architecting Your Application with

More information

Java EE 7: Back-End Server Application Development

Java EE 7: Back-End Server Application Development Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Java EE 7: Back-End Server Application Development Duration: 5 Days What you will learn The Java EE 7: Back-End Server Application

More information

Index. Combined lifecycle strategy, annotation, 93 ContentNegotiatingViewResolver, 78

Index. Combined lifecycle strategy, annotation, 93 ContentNegotiatingViewResolver, 78 Index A Action phase, 154 AJAX (asynchronous JavaScript and XML), 229 communication flow, 230 components, 156 custom tags, 250 functions, 229 GET and POST requests, 233 jquery, 233, 236 AJAX calls, 243

More information

CONFIGURING A SPRING DEVELOPMENT ENVIRONMENT

CONFIGURING A SPRING DEVELOPMENT ENVIRONMENT Module 5 CONFIGURING A SPRING DEVELOPMENT ENVIRONMENT The Spring Framework > The Spring framework (spring.io) is a comprehensive Java SE/Java EE application framework > Spring addresses many aspects of

More information

JAVA MICROSERVICES. Java Language Environment. Java Set Up. Java Fundamentals. Packages. Operations

JAVA MICROSERVICES. Java Language Environment. Java Set Up. Java Fundamentals. Packages. Operations Java Language Environment JAVA MICROSERVICES Object Oriented Platform Independent Automatic Memory Management Compiled / Interpreted approach Robust Secure Dynamic Linking MultiThreaded Built-in Networking

More information

JVA-117E. Developing RESTful Services with Spring

JVA-117E. Developing RESTful Services with Spring JVA-117E. Developing RESTful Services with Spring Version 4.1 This course enables the experienced Java developer to use the Spring MVC framework to create RESTful web services. We begin by developing fluency

More information

Skyway Builder 6.3 Reference

Skyway Builder 6.3 Reference Skyway Builder 6.3 Reference 6.3.0.0-07/21/09 Skyway Software Skyway Builder 6.3 Reference: 6.3.0.0-07/21/09 Skyway Software Published Copyright 2009 Skyway Software Abstract The most recent version of

More information

New Features in Java language

New Features in Java language Core Java Topics Total Hours( 23 hours) Prerequisite : A basic knowledge on java syntax and object oriented concepts would be good to have not mandatory. Jdk, jre, jvm basic undrestanding, Installing jdk,

More information

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand) Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand) Code: URL: D101074GC10 View Online The Developing Applications for the Java EE 7 Platform training teaches you how

More information

Page 1

Page 1 Java 1. Core java a. Core Java Programming Introduction of Java Introduction to Java; features of Java Comparison with C and C++ Download and install JDK/JRE (Environment variables set up) The JDK Directory

More information

Courses For Event Java Advanced Summer Training 2018

Courses For Event Java Advanced Summer Training 2018 Courses For Event Java Advanced Summer Training 2018 Java Fundamentals Oracle Java SE 8 Advanced Java Training Java Advanced Expert Edition Topics For Java Fundamentals Variables Data Types Operators Part

More information

Java Training Center, Noida - Java Expert Program

Java Training Center, Noida - Java Expert Program Java Training Center, Noida - Java Expert Program Database Concepts Introduction to Database Limitation of File system Introduction to RDBMS Steps to install MySQL and oracle 10g in windows OS SQL (Structured

More information

Seam 3. Pete Muir JBoss, a Division of Red Hat

Seam 3. Pete Muir JBoss, a Division of Red Hat Seam 3 Pete Muir JBoss, a Division of Red Hat Road Map Introduction Java EE 6 Java Contexts and Dependency Injection Seam 3 Mission Statement To provide a fully integrated development platform for building

More information

object/relational persistence What is persistence? 5

object/relational persistence What is persistence? 5 contents foreword to the revised edition xix foreword to the first edition xxi preface to the revised edition xxiii preface to the first edition xxv acknowledgments xxviii about this book xxix about the

More information

Java- EE Web Application Development with Enterprise JavaBeans and Web Services

Java- EE Web Application Development with Enterprise JavaBeans and Web Services Java- EE Web Application Development with Enterprise JavaBeans and Web Services Duration:60 HOURS Price: INR 8000 SAVE NOW! INR 7000 until December 1, 2011 Students Will Learn How to write Session, Message-Driven

More information

Spring Framework 2.5: New and Notable. Ben Alex, Principal Software Engineer, SpringSource

Spring Framework 2.5: New and Notable. Ben Alex, Principal Software Engineer, SpringSource Spring Framework 2.5: New and Notable Ben Alex, Principal Software Engineer, SpringSource GOAL> Learn what s new in Spring 2.5 and why it matters to you springsource.com 2 Agenda Goals of Spring 2.5 Support

More information

Spring Professional v5.0 Exam

Spring Professional v5.0 Exam Spring Professional v5.0 Exam Spring Core Professional v5.0 Dumps Available Here at: /spring-exam/core-professional-v5.0- dumps.html Enrolling now you will get access to 250 questions in a unique set of

More information

SPRING FRAMEWORK ARCHITECTURE

SPRING FRAMEWORK ARCHITECTURE SPRING - QUICK GUIDE http://www.tutorialspoint.com/spring/spring_quick_guide.htm Copyright tutorialspoint.com Spring is the most popular application development framework for enterprise Java. Millions

More information

Index D, E. mydocuments-aopcontext.xml,

Index D, E. mydocuments-aopcontext.xml, Index A Advance Message Queue Protocol (AMQP), 159, 217 Aspect-oriented programming (AOP), 89, 91 AfterLoggingModule.java, 98 annotations caching.java, 107 108 mydocuments-aop-annotatedcontext.xml, 108

More information

Enterprise JavaBeans, Version 3 (EJB3) Programming

Enterprise JavaBeans, Version 3 (EJB3) Programming Enterprise JavaBeans, Version 3 (EJB3) Programming Description Audience This course teaches developers how to write Java Enterprise Edition (JEE) applications that use Enterprise JavaBeans, version 3.

More information

Call: Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline

Call: Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline Object-Oriented Programming (OOP) concepts Introduction Abstraction Encapsulation Inheritance Polymorphism Getting started with

More information

Migrating traditional Java EE applications to mobile

Migrating traditional Java EE applications to mobile Migrating traditional Java EE applications to mobile Serge Pagop Sr. Channel MW Solution Architect, Red Hat spagop@redhat.com Burr Sutter Product Management Director, Red Hat bsutter@redhat.com 2014-04-16

More information

CORE JAVA 1. INTRODUCATION

CORE JAVA 1. INTRODUCATION CORE JAVA 1. INTRODUCATION 1. Installation & Hello World Development 2. Path environment variable d option 3. Local variables & pass by value 4. Unary operators 5. Basics on Methods 6. Static variable

More information

EJB ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY. EJB Enterprise Java

EJB ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY. EJB Enterprise Java EJB Enterprise Java EJB Beans ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY Peter R. Egli 1/23 Contents 1. What is a bean? 2. Why EJB? 3. Evolution

More information

This course is intended for Java programmers who wish to write programs using many of the advanced Java features.

This course is intended for Java programmers who wish to write programs using many of the advanced Java features. COURSE DESCRIPTION: Advanced Java is a comprehensive study of many advanced Java topics. These include assertions, collection classes, searching and sorting, regular expressions, logging, bit manipulation,

More information

CORE JAVA. Saying Hello to Java: A primer on Java Programming language

CORE JAVA. Saying Hello to Java: A primer on Java Programming language CORE JAVA Saying Hello to Java: A primer on Java Programming language Intro to Java & its features Why Java very famous? Types of applications that can be developed using Java Writing my first Java program

More information

CO Java EE 7: Back-End Server Application Development

CO Java EE 7: Back-End Server Application Development CO-85116 Java EE 7: Back-End Server Application Development Summary Duration 5 Days Audience Application Developers, Developers, J2EE Developers, Java Developers and System Integrators Level Professional

More information

COURSE DETAILS: CORE AND ADVANCE JAVA Core Java

COURSE DETAILS: CORE AND ADVANCE JAVA Core Java COURSE DETAILS: CORE AND ADVANCE JAVA Core Java 1. Object Oriented Concept Object Oriented Programming & its Concepts Classes and Objects Aggregation and Composition Static and Dynamic Binding Abstract

More information

Fast Track to EJB 3.0 and the JPA Using JBoss

Fast Track to EJB 3.0 and the JPA Using JBoss Fast Track to EJB 3.0 and the JPA Using JBoss The Enterprise JavaBeans 3.0 specification is a deep overhaul of the EJB specification that is intended to improve the EJB architecture by reducing its complexity

More information

Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p.

Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p. Preface p. xiii Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p. 11 Creating the Deployment Descriptor p. 14 Deploying Servlets

More information

Building Spring 2 Enterprise Applications

Building Spring 2 Enterprise Applications Building Spring 2 Enterprise Applications Interface 21 with Bram Smeets and Seth Ladd Building Spring 2 Enterprise Applications Copyright 2007 by Interface 21, Bram Smeets, Seth Ladd All rights reserved.

More information

Course Content for Java J2EE

Course Content for Java J2EE CORE JAVA Course Content for Java J2EE After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? PART-1 Basics & Core Components Features and History

More information

/ / JAVA TRAINING

/ / JAVA TRAINING www.tekclasses.com +91-8970005497/+91-7411642061 info@tekclasses.com / contact@tekclasses.com JAVA TRAINING If you are looking for JAVA Training, then Tek Classes is the right place to get the knowledge.

More information

NetBeans IDE Field Guide

NetBeans IDE Field Guide NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Extending Web Applications with Business Logic: Introducing EJB Components...1 EJB Project type Wizards...2

More information

Component based Development. Table of Contents. Notes. Notes. Notes. Web Application Development. Zsolt Tóth

Component based Development. Table of Contents. Notes. Notes. Notes. Web Application Development. Zsolt Tóth Component based Development Web Application Development Zsolt Tóth University of Miskolc 2017 Zsolt Tóth (University of Miskolc) Component based Development 2017 1 / 30 Table of Contents 1 2 3 4 Zsolt

More information

Fast Track to Spring 3 and Spring Web Flow 2.1

Fast Track to Spring 3 and Spring Web Flow 2.1 Fast Track to Spring 3 and Spring Web Flow 2.1 on Tomcat/Eclipse LearningPatterns, Inc. Courseware Student Guide This material is copyrighted by LearningPatterns Inc. This content and shall not be reproduced,

More information

Improve and Expand JavaServer Faces Technology with JBoss Seam

Improve and Expand JavaServer Faces Technology with JBoss Seam Improve and Expand JavaServer Faces Technology with JBoss Seam Michael Yuan Kito D. Mann Product Manager, Red Hat Author, JSF in Action http://www.michaelyuan.com/seam/ Principal Consultant Virtua, Inc.

More information

Generating A Hibernate Mapping File And Java Classes From The Sql Schema

Generating A Hibernate Mapping File And Java Classes From The Sql Schema Generating A Hibernate Mapping File And Java Classes From The Sql Schema Internally, hibernate maps from Java classes to database tables (and from It also provides data query and retrieval facilities by

More information

JAVA SYLLABUS FOR 6 MONTHS

JAVA SYLLABUS FOR 6 MONTHS JAVA SYLLABUS FOR 6 MONTHS Java 6-Months INTRODUCTION TO JAVA Features of Java Java Virtual Machine Comparison of C, C++, and Java Java Versions and its domain areas Life cycle of Java program Writing

More information

~ Ian Hunneybell: CBSD Revision Notes (07/06/2006) ~

~ Ian Hunneybell: CBSD Revision Notes (07/06/2006) ~ 1 Component: Szyperski s definition of a component: A software component is a unit of composition with contractually specified interfaces and explicit context dependencies only. A software component can

More information

indx.qxd 11/3/04 3:34 PM Page 339 Index

indx.qxd 11/3/04 3:34 PM Page 339 Index indx.qxd 11/3/04 3:34 PM Page 339 Index *.hbm.xml files, 30, 86 @ tags (XDoclet), 77 86 A Access attributes, 145 155, 157 165, 171 ACID (atomic, consistent, independent, and durable), 271 AddClass() method,

More information

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1 Umair Javed 2004 J2EE Based Distributed Application Architecture Overview Lecture - 2 Distributed Software Systems Development Why J2EE? Vision of J2EE An open standard Umbrella for anything Java-related

More information

LTBP INDUSTRIAL TRAINING INSTITUTE

LTBP INDUSTRIAL TRAINING INSTITUTE Java SE Introduction to Java JDK JRE Discussion of Java features and OOPS Concepts Installation of Netbeans IDE Datatypes primitive data types non-primitive data types Variable declaration Operators Control

More information

Developing Applications with Java EE 6 on WebLogic Server 12c

Developing Applications with Java EE 6 on WebLogic Server 12c Developing Applications with Java EE 6 on WebLogic Server 12c Duration: 5 Days What you will learn The Developing Applications with Java EE 6 on WebLogic Server 12c course teaches you the skills you need

More information

IBM. IBM WebSphere Application Server Migration Toolkit. WebSphere Application Server. Version 9.0 Release

IBM. IBM WebSphere Application Server Migration Toolkit. WebSphere Application Server. Version 9.0 Release WebSphere Application Server IBM IBM WebSphere Application Server Migration Toolkit Version 9.0 Release 18.0.0.3 Contents Chapter 1. Overview......... 1 Chapter 2. What's new........ 5 Chapter 3. Support..........

More information

Tools for Accessing REST APIs

Tools for Accessing REST APIs APPENDIX A Tools for Accessing REST APIs When you have to work in an agile development environment, you need to be able to quickly test your API. In this appendix, you will learn about open source REST

More information

Java EE 6: Develop Business Components with JMS & EJBs

Java EE 6: Develop Business Components with JMS & EJBs Oracle University Contact Us: + 38516306373 Java EE 6: Develop Business Components with JMS & EJBs Duration: 4 Days What you will learn This Java EE 6: Develop Business Components with JMS & EJBs training

More information

Skyway Builder User Guide (BETA 1)

Skyway Builder User Guide (BETA 1) Skyway Builder User Guide (BETA 1) March 26, 2008 Skyway Software Skyway Builder User Guide (BETA 1): March 26, 2008 Skyway Software Published Copyright 2008 Skyway Software Abstract Skyway Builder, a

More information

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Web Application Development Using JEE, Enterprise JavaBeans and JPA Web Application Development Using JEE, Enterprise Java and JPA Duration: 5 days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options.

More information

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Web Application Development Using JEE, Enterprise JavaBeans and JPA Web Application Development Using JEE, Enterprise Java and JPA Duration: 35 hours Price: $750 Delivery Option: Attend training via an on-demand, self-paced platform paired with personal instructor facilitation.

More information

Spring Framework 2.0 New Persistence Features. Thomas Risberg

Spring Framework 2.0 New Persistence Features. Thomas Risberg Spring Framework 2.0 New Persistence Features Thomas Risberg Introduction Thomas Risberg Independent Consultant, springdeveloper.com Committer on the Spring Framework project since 2003 Supporting the

More information

Fast Track to Java EE

Fast Track to Java EE Java Enterprise Edition is a powerful platform for building web applications. This platform offers all the advantages of developing in Java plus a comprehensive suite of server-side technologies. This

More information

Introduction... xv SECTION 1: DEVELOPING DESKTOP APPLICATIONS USING JAVA Chapter 1: Getting Started with Java... 1

Introduction... xv SECTION 1: DEVELOPING DESKTOP APPLICATIONS USING JAVA Chapter 1: Getting Started with Java... 1 Introduction... xv SECTION 1: DEVELOPING DESKTOP APPLICATIONS USING JAVA Chapter 1: Getting Started with Java... 1 Introducing Object Oriented Programming... 2 Explaining OOP concepts... 2 Objects...3

More information

POJOs to the rescue. Easier and faster development with POJOs and lightweight frameworks

POJOs to the rescue. Easier and faster development with POJOs and lightweight frameworks POJOs to the rescue Easier and faster development with POJOs and lightweight frameworks by Chris Richardson cer@acm.org http://chris-richardson.blog-city.com 1 Who am I? Twenty years of software development

More information

Java Advance Frameworks

Java Advance Frameworks Software Development & Education Center Java Advance Frameworks (Struts Hibernate Spring) STRUTS 2.0 Apache Struts is an open-source framework for creating Java web applications that use the MVC design

More information

J2EE - Version: 25. Developing Enterprise Applications with J2EE Enterprise Technologies

J2EE - Version: 25. Developing Enterprise Applications with J2EE Enterprise Technologies J2EE - Version: 25 Developing Enterprise Applications with J2EE Enterprise Technologies Developing Enterprise Applications with J2EE Enterprise Technologies J2EE - Version: 25 5 days Course Description:

More information

JBoss World 2009 Marius Bogoevici

JBoss World 2009 Marius Bogoevici 1 Spring on JBoss Marius Bogoevici Senior Software Engineer, Red Hat September 2 nd, 2009 2 About the presenter: Marius Bogoevici - mariusb@redhat.com Senior Software Engineer at Red Hat Lead for Snowdrop,

More information

Java SE7 Fundamentals

Java SE7 Fundamentals Java SE7 Fundamentals Introducing the Java Technology Relating Java with other languages Showing how to download, install, and configure the Java environment on a Windows system. Describing the various

More information

Design patterns using Spring and Guice

Design patterns using Spring and Guice Design patterns using Spring and Guice Dhanji R. Prasanna MANNING contents 1 Dependency 2 Time preface xv acknowledgments xvii about this book xix about the cover illustration xxii injection: what s all

More information

G l a r i m y Training on. Spring Framework

G l a r i m y Training on. Spring Framework http://www.glarimy.com Training on Spring Framework Krishna Mohan Koyya Technology Consultant & Corporate Trainer krishna@glarimy.com www.glarimy.com 091-9731 4231 66 [Visit the portal for latest version

More information

Spring Interview Questions

Spring Interview Questions Spring Interview Questions codespaghetti.com/spring-interview-questions/ SPRING Java Spring Interview Questions, Programs and Examples to help you ace your next Technical interview. Table of Contents:

More information

Enterprise AOP With the Spring Framework

Enterprise AOP With the Spring Framework Enterprise AOP With the Spring Framework Jürgen Höller VP & Distinguished Engineer, Interface21 Agenda Spring Core Container Spring AOP Framework AOP in Spring 2.0 Example: Transaction Advice What's Coming

More information

Selenium Testing Course Content

Selenium Testing Course Content Selenium Testing Course Content Introduction What is automation testing? What is the use of automation testing? What we need to Automate? What is Selenium? Advantages of Selenium What is the difference

More information

Index. Symbols. /**, symbol, 73 >> symbol, 21

Index. Symbols. /**, symbol, 73 >> symbol, 21 17_Carlson_Index_Ads.qxd 1/12/05 1:14 PM Page 281 Index Symbols /**, 73 @ symbol, 73 >> symbol, 21 A Add JARs option, 89 additem() method, 65 agile development, 14 team ownership, 225-226 Agile Manifesto,

More information

Deccansoft Software Services. J2EE Syllabus

Deccansoft Software Services. J2EE Syllabus Overview: Java is a language and J2EE is a platform which implements java language. J2EE standard for Java 2 Enterprise Edition. Core Java and advanced java are the standard editions of java whereas J2EE

More information

Socket attaches to a Ratchet. 2) Bridge Decouple an abstraction from its implementation so that the two can vary independently.

Socket attaches to a Ratchet. 2) Bridge Decouple an abstraction from its implementation so that the two can vary independently. Gang of Four Software Design Patterns with examples STRUCTURAL 1) Adapter Convert the interface of a class into another interface clients expect. It lets the classes work together that couldn't otherwise

More information

ADVANCED JAVA COURSE CURRICULUM

ADVANCED JAVA COURSE CURRICULUM ADVANCED JAVA COURSE CURRICULUM Index of Advanced Java Course Content : 1. Basics of Servlet 2. ServletRequest 3. Servlet Collaboration 4. ServletConfig 5. ServletContext 6. Attribute 7. Session Tracking

More information

Implementing a Web Service p. 110 Implementing a Web Service Client p. 114 Summary p. 117 Introduction to Entity Beans p. 119 Persistence Concepts p.

Implementing a Web Service p. 110 Implementing a Web Service Client p. 114 Summary p. 117 Introduction to Entity Beans p. 119 Persistence Concepts p. Acknowledgments p. xvi Introduction p. xvii Overview p. 1 Overview p. 3 The Motivation for Enterprise JavaBeans p. 4 Component Architectures p. 7 Divide and Conquer to the Extreme with Reusable Services

More information

Hibernate Interview Questions

Hibernate Interview Questions Hibernate Interview Questions 1. What is Hibernate? Hibernate is a powerful, high performance object/relational persistence and query service. This lets the users to develop persistent classes following

More information

Pro JPA 2. Mastering the Java Persistence API. Apress* Mike Keith and Merrick Schnicariol

Pro JPA 2. Mastering the Java Persistence API. Apress* Mike Keith and Merrick Schnicariol Pro JPA 2 Mastering the Java Persistence API Mike Keith and Merrick Schnicariol Apress* Gootents at a Glance g V Contents... ; v Foreword _ ^ Afooyt the Author XXj About the Technical Reviewer.. *....

More information

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes Java CORE JAVA Core Java Programing (Course Duration: 40 Hours) Introduction to Java What is Java? Why should we use Java? Java Platform Architecture Java Virtual Machine Java Runtime Environment A Simple

More information

Spring Framework 5.0 on JDK 8 & 9

Spring Framework 5.0 on JDK 8 & 9 Spring Framework 5.0 on JDK 8 & 9 Juergen Hoeller Spring Framework Lead Pivotal 1 Spring Framework 5.0 (Overview) 5.0 GA as of September 28 th, 2017 one week after JDK 9 GA! Embracing JDK 9 as well as

More information

MAVEN INTERVIEW QUESTIONS

MAVEN INTERVIEW QUESTIONS MAVEN INTERVIEW QUESTIONS http://www.tutorialspoint.com/maven/maven_interview_questions.htm Copyright tutorialspoint.com Dear readers, these Maven Interview Questions have been designed specially to get

More information

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format. J2EE Development Detail: Audience www.peaksolutions.com/ittraining Java developers, web page designers and other professionals that will be designing, developing and implementing web applications using

More information

Chapter 1 Introducing EJB 1. What is Java EE Introduction to EJB...5 Need of EJB...6 Types of Enterprise Beans...7

Chapter 1 Introducing EJB 1. What is Java EE Introduction to EJB...5 Need of EJB...6 Types of Enterprise Beans...7 CONTENTS Chapter 1 Introducing EJB 1 What is Java EE 5...2 Java EE 5 Components... 2 Java EE 5 Clients... 4 Java EE 5 Containers...4 Introduction to EJB...5 Need of EJB...6 Types of Enterprise Beans...7

More information