框架技术精讲与整合案例光盘_与新技术的整合

框架技术精讲与整合案例光盘

The new era of technology has triggered a greater need for businesses to keep up with and set themselves apart from their competitors. In a recent study from McKinsey Global Survey on digital transformation, respondents report their organizations are increasingly focused on adapting to the digital generation. For businesses around the world, adjusting to the transformed digital landscape means introducing new tools and technology. 

新技术时代引发了企业对跟上竞争对手并使其与众不同的更大需求。 在最近   麦肯锡全球调查公司针对数字化转型所做的 研究表明 ,他们的组织越来越关注于适应数字化一代。 对于全球企业而言,适应转变后的数字格局意味着必须引入新的工具和技术。

Common struggles for companies during the integration stage include scheduling time for team members to meet, as well as the bigger issue of failure to monitor and back up data. Other times, organizations can fall into the trap of introducing new technology for the sake of having new technology. Without first assessing the benefits, ROI, and alignment with an organization’s needs, this will almost certainly fail. To ease the integration process and ensure your team is on board, we’ve put together our best tips for successfully introducing new tools to your organization. 

在集成阶段,公司面临的共同难题包括安排团队成员开会的时间,以及更大的问题,即无法监视和备份数据。 有时,组织可能会因为拥有新技术而陷入引入新技术的陷阱。 如果不首先评估收益,投资回报率以及是否与组织需求保持一致,这肯定​​会失败。 为了简化集成过程并确保您的团队参与进来,我们汇总了一些最佳技巧,可以为您的组织成功引入新工具。

新兴技术 (Emerging technologies)

In the digital age, emerging technologies consistently create new challenges for businesses. Technologies such as artificial intelligence (AI) are already becoming mainstream. However, 2020 is likely to see advanced AI emerging, along with other innovations like digital ecosystems, biochips, immersive spaces, and bio tech.

在数字时代,新兴技术不断为企业带来新的挑战。 人工智能(AI)等技术已经成为主流。 但是,到2020年,先进的AI可能会出现,同时还有其他创新,例如数字生态系统,生物芯片,沉浸式空间和生物技术。

As these technologies become more prevalent, research from PwC shows 76% of CEOs are concerned about the pace of change. The study also stresses the importance of integrating emerging technologies into an overall organizational strategy. A good way to keep up with nascent technologies is to consult subject-matter experts, like the community at Experts Exchange, who can help you find answers to your questions.

随着这些技术变得越来越普遍, 普华永道的 研究 表明,有76%的CEO担心变革的步伐。 该研究还强调了将新兴技术整合到整体组织战略中的重要性。 跟上新兴技术的一个好方法是咨询主题专家,例如 Experts Exchange 的社区 ,他们可以帮助您找到问题的答案。

We know the adoption and integration of emerging technology is vital if a business is to keep up with competitors. Mike Fratto, an analyst for Current Analysis, told Biz Tech, “Keeping pace with both customer demands and competitors requires businesses to become adept at bringing in new technologies and integrating them with existing network resources.”

我们知道,如果企业要跟上竞争对手的步伐,那么采用和集成新兴技术至关重要。 Current Analysis分析师Mike Fratto对 Biz Tech表示 :“与客户需求和竞争对手并驾齐驱,要求企业变得精于引入新技术并将其与现有网络资源集成。”

Regardless of what technology is being introduced, it’s important to complete a thorough assessment of its impact on network resources, capacity, security, and maintenance required as a result of integration.

无论采用何种技术,重要的是要全面评估其对集成所需的网络资源,容量,安全性和维护的影响。

Fratto added, “That means a complete analysis, including network performance monitoring and application performance monitoring…These are two things nobody wants to pay for, but everybody needs.” 

Fratto补充说:“这意味着要进行完整的分析,包括网络性能监视和应用程序性能监视……这是没人想付费但每个人都需要的两件事。”

与现有技术整合 (Integrate with existing tech)

One of the main questions you should ask about new technology is how well it integrates with your existing setup. Over the years, your organization will have established its own processes and ways of working with its current technology tools. 

关于新技术,您应该问的主要问题之一是它与现有设置的集成程度。 多年来,您的组织将建立自己的流程和使用其当前技术工具的方式。

When considering integration, ask yourself:

在考虑集成时,请问自己:

  • What adaptations, if any, will need to be made? 

    需要进行哪些修改(如果有)?

  • Will the introduction of the technology help to optimize the value and productivity of the systems that are already in place? 

    这项技术的引入是否有助于优化已经存在的系统的价值和生产率?

Once you have answered these questions you can be more confident your chosen technology will integrate well with existing systems. If you have concerns about integration, seek advice from subject-matter experts who can guide you and your employees through the process.

回答完这些问题后,您将更有信心选择的技术将与现有系统很好地集成在一起。 如果您对集成有疑问,请 咨询主题专家 ,他们可以指导您和您的员工完成整个过程。

暂停并评估 (Pause and assess)

Investing in technology is an ideal opportunity to pause and assess your organization. Take a critical look at your business and establish:

投资技术是暂停和评估组织的理想机会。 认真看待您的业务并建立:

  • What needs to be improved.

    有待改进的地方。

  • Which technology could boost your organization’s performance.

    哪种技术可以提高组织的绩效。

  • How the technology will add to the company’s strategy.

    技术将如何增加公司的战略。

Once you have finished your assessment, the search can begin for appropriate equipment. When choosing new technology, always look for products that are intuitive, easy to use, and accessible for all members of the team. 

完成评估后,即可开始搜索合适的设备。 选择新技术时,请始终寻找直观,易于使用且团队中所有成员都可以使用的产品。

进行研究 (Conduct research)

Research is an integral part of integrating new technology. For this part, look at new technology trends and learn how they can benefit your business in the short and long term. However, do not just rely on reviews or news articles for this. Subject-matter experts on Experts Exchange can also provide first-hand experience on technology integration to advise you on best practices and potential pitfalls. 

研究是整合新技术不可或缺的一部分。 在这一部分中,请查看新技术趋势,并了解它们如何在短期和长期中使您的业务受益。 但是,不要仅仅依靠评论或新闻文章。 Experts Exchange 上的主题专家 还可以提供有关技术集成的第一手经验,以就最佳实践和潜在陷阱向您提供建议。

Feedback from the IT team will be paramount as the integration gets underway, so ensure they are always kept informed. You should also have conversations across teams and verticals to ensure maximum input on the process. This approach will give you a wider view of the (shortlisted) technology and whether it would be a worthwhile investment for your organization. 

随着集成的进行,IT团队的反馈将至关重要,因此请确保始终保持通报状态。 您还应该在团队和垂直领域进行对话,以确保在流程中获得最大的投入。 这种方法将使您对(入围的)技术有更广泛的了解,以及它是否对您的组织来说是值得的投资。

提供员工培训   (Offer staff training  )

Introducing new technology into the workplace requires a learning period, so you should provide training and support for your staff as they adjust to a new way of working. 

将新技术引入工作场所需要学习一段时间,因此您应该在员工适应新工作方式时为其提供培训和支持。

Before making a purchase, research the vendors to determine the training they have available, the support they offer, and whether trials are provided to get staff familiar with the new technology. 

购买之前,请对供应商进行研究,以确定他们可以提供的培训,他们提供的支持以及是否进行试验以使员工熟悉新技术。

Schedule in-house training to ensure employees are familiarized and able to use the new technology. Ideally, training should be conducted prior to the integration of the new software. In addition, it may be a good idea to record the initial training session so that when new team members are hired, they are able to use these resources as a guide.

安排内部培训,以确保员工熟悉并能够使用新技术。 理想情况下,应该在集成新软件之前进行培训。 此外,最好记录下最初的培训课程,以便在雇用新的团队成员时能够使用这些资源作为指导。

This will ensure that everyone on the team is comfortable using the integrated technology and give them the chance to ask any questions they might have. Further, it’s imperative that every team member has a named person (contact) on the training and support team who they can go to if errors occur in the early days. 

这将确保团队中的每个人都可以轻松使用集成技术,并为他们提供提问的机会。 此外,当早期发生错误时,每个团队成员都必须在培训和支持团队中有一个指定的人(联系人),他们可以去找谁。

制定时间表 (Develop a timeline)

Once you’ve decided to go with an integration, develop an integration scope, sequence, and timeline. Consider how long it will take to install and integrate the new technology, and then budget time for staff training and additional updates. There will always be technical errors or unforeseen problems, so leave room for those as well. For assistance developing a complete timeline, connect with subject-matter experts who can give you an idea of how long the integration may take. 

一旦决定进行集成,请制定一个集成范围,顺序和时间表。 考虑安装和集成新技术将花费多长时间,然后考虑员工培训和其他更新的预算时间。 总会有技术错误或无法预料的问题,因此也要留有余地。 要获得制定完整时间表的帮助,请 主题专家联系,他们可以为您提供整合所需的时间。

让团队参与其中   (Get the team involved  )

Involving the rest of the team will make the introductory phase go smoother. Staff should not feel rushed or forced, so take your time during this phase and get feedback at every stage along the way. Listen carefully and use this feedback to inform decisions.Teams on the ground are going to be the most knowledgeable about how a new technology is actually integrating. Your staff will also appreciate that their feedback is being taken seriously, and everyone will benefit from a thoughtful integration process. 

团队其他成员的参与将使入门阶段更加顺利。 工作人员不应感到急躁或被迫,因此请在此阶段花点时间,并在整个过程的每个阶段都获得反馈。 认真聆听并使用这些反馈来做出决策。实地团队将最了解新技术的实际集成方式。 您的员工也将很欣赏他们的反馈得到认真对待,并且每个人都会从周到的集成过程中受益。

创建备份 (Create backups)

Create any critical backups ahead of the move. Designate a person who will be responsible for this and ensure that backups are done on a regular basis to minimize the chances of potential data loss.

提前创建所有关键备份。 指定一名负责此工作的人员,并确保定期进行备份,以最大程度地减少潜在数据丢失的机会。

As the organization moves closer to the integration, test that the backups are working.

随着组织逐步接近集成,请测试备份是否正常运行。

结论 (Conclusion)

Integrating new technology has its challenges and the process will not always be an easy one. However, by getting feedback from staff, carrying out audits and assessments, weighing up the pros and cons, and putting in measures to ease the introduction, you can make the integration with new technology go smoother.

集成新技术面临挑战,而且该过程并非总是那么容易。 但是,通过获取员工的反馈,进行审核和评估,权衡利弊并采取措施简化引入过程,可以使与新技术的集成更加顺畅。

Ultimately, the decision-making process around a new integration can come down to something as simple as the pros and cons. Advantages and disadvantages of a new technology are key components in the final decision around integrating new technology for your business. Based on your organizational assessment, resource audit, and research, consider what this technology and the integration process will bring to the table for your business, and where it will possibly detract. Benefits may include added efficiency, productivity, and long-term cost savings, while the disadvantages might cover a steep learning curve, staff resistance, the initial costs, and setup.

最终,围绕新集成的决策过程可以归结为利弊一样简单。 新技术的优缺点是围绕为您的业务集成新技术的最终决策的关键组成部分。 根据您的组织评估,资源审核和研究,请考虑该技术和集成过程将为您的业务带来什么,以及可能会损害什么。 好处可能包括提高效率,生产率和长期节省成本,而缺点可能包括陡峭的学习曲线,员工抵抗力,初始成本和设置。

Remember to consult other professionals and organizations who have already undergone the integration process as a guide. For expert advice on technology integration and other questions you may have, sign up for Experts Exchange today.

请记住,请咨询已经接受集成过程的其他专业人员和组织作为指南。 有关技术集成的专家建议以及您可能遇到的其他问题,请立即 注册Experts Exchange

翻译自: https://www.experts-exchange.com/articles/34088/Integrations-with-New-Technology.html

框架技术精讲与整合案例光盘

Spring+SpringMVC+MyBatis框架技术整合是目前Java企业级应用开发中最为流行的技术组合之一。在这个技术组合中,Spring负责IoC和AOP,SpringMVC则是MVC框架,而MyBatis则是ORM框架。 下面是一个简单的整合案例: 1. 首先,我们需要创建一个Maven项目,并添加Spring、SpringMVC和MyBatis的依赖: ```xml <!-- Spring --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>4.3.3.RELEASE</version> </dependency> <!-- Spring MVC --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>4.3.3.RELEASE</version> </dependency> <!-- MyBatis --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.5</version> </dependency> ``` 2. 接着,我们需要配置Spring、SpringMVC和MyBatis的配置文件。在这里,我们使用注解方式配置Spring和SpringMVC,而使用XML方式配置MyBatis。 Spring配置文件: ```java @Configuration @ComponentScan(basePackages = "com.example") @EnableWebMvc public class AppConfig { // ... 配置其他Bean @Bean public DataSource dataSource() { // 配置数据源 return new DriverManagerDataSource(); } @Bean public SqlSessionFactory sqlSessionFactory() throws Exception { SqlSessionFactoryBean sessionFactory = new SqlSessionFactoryBean(); sessionFactory.setDataSource(dataSource()); // 配置MyBatis插件 Interceptor[] plugins = {pageHelper()}; sessionFactory.setPlugins(plugins); // 配置MyBatis映射文件 sessionFactory.setMapperLocations(new PathMatchingResourcePatternResolver() .getResources("classpath*:mapper/*.xml")); return sessionFactory.getObject(); } @Bean public MapperScannerConfigurer mapperScannerConfigurer() { MapperScannerConfigurer scannerConfigurer = new MapperScannerConfigurer(); scannerConfigurer.setBasePackage("com.example.mapper"); scannerConfigurer.setSqlSessionFactoryBeanName("sqlSessionFactory"); return scannerConfigurer; } @Bean public PageInterceptor pageHelper() { PageInterceptor pageInterceptor = new PageInterceptor(); Properties properties = new Properties(); properties.setProperty("helperDialect", "mysql"); pageInterceptor.setProperties(properties); return pageInterceptor; } } ``` SpringMVC配置文件: ```java @Configuration public class WebConfig implements WebMvcConfigurer { // ... 配置其他内容 @Bean public ViewResolver viewResolver() { // 配置视图解析器 InternalResourceViewResolver viewResolver = new InternalResourceViewResolver(); viewResolver.setPrefix("/WEB-INF/views/"); viewResolver.setSuffix(".jsp"); return viewResolver; } @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { // 配置静态资源 registry.addResourceHandler("/static/**") .addResourceLocations("/static/"); } @Override public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) { configurer.enable(); } } ``` MyBatis配置文件: ```xml <configuration> <typeAliases> <!-- 配置别名 --> <package name="com.example.model"/> </typeAliases> <mappers> <!-- 配置映射文件 --> <mapper resource="mapper/userMapper.xml"/> </mappers> <!-- 配置分页插件 --> <plugins> <plugin interceptor="com.github.pagehelper.PageInterceptor"> <property name="helperDialect" value="mysql"/> </plugin> </plugins> </configuration> ``` 3. 接着,我们需要创建Controller和Mapper接口以及对应的视图和映射文件。这里我们以用户管理为例: UserController.java: ```java @Controller @RequestMapping("/user") public class UserController { @Autowired private UserService userService; @RequestMapping(value = "/list", method = RequestMethod.GET) public String list(Model model) { List<User> users = userService.getAllUsers(); model.addAttribute("users", users); return "user/list"; } @RequestMapping(value = "/add", method = RequestMethod.GET) public String addForm() { return "user/add"; } @RequestMapping(value = "/add", method = RequestMethod.POST) public String add(User user) { userService.addUser(user); return "redirect:/user/list"; } @RequestMapping(value = "/edit/{id}", method = RequestMethod.GET) public String editForm(@PathVariable("id") Long id, Model model) { User user = userService.getUserById(id); model.addAttribute("user", user); return "user/edit"; } @RequestMapping(value = "/edit", method = RequestMethod.POST) public String edit(User user) { userService.updateUser(user); return "redirect:/user/list"; } @RequestMapping(value = "/delete/{id}", method = RequestMethod.GET) public String delete(@PathVariable("id") Long id) { userService.deleteUser(id); return "redirect:/user/list"; } } ``` UserMapper.java: ```java public interface UserMapper { List<User> getAllUsers(); User getUserById(Long id); void addUser(User user); void updateUser(User user); void deleteUser(Long id); } ``` userMapper.xml: ```xml <mapper namespace="com.example.mapper.UserMapper"> <resultMap id="userMap" type="com.example.model.User"> <id property="id" column="id" /> <result property="name" column="name" /> <result property="age" column="age" /> </resultMap> <select id="getAllUsers" resultMap="userMap"> SELECT * FROM user </select> <select id="getUserById" resultMap="userMap"> SELECT * FROM user WHERE id = #{id} </select> <insert id="addUser" useGeneratedKeys="true" keyProperty="id"> INSERT INTO user(name, age) VALUES(#{name}, #{age}) </insert> <update id="updateUser"> UPDATE user SET name = #{name}, age = #{age} WHERE id = #{id} </update> <delete id="deleteUser"> DELETE FROM user WHERE id = #{id} </delete> </mapper> ``` 4. 最后,我们需要配置web.xml文件,启动Spring容器和SpringMVC DispatcherServlet。 web.xml: ```xml <web-app> <display-name>MyApp</display-name> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:/config/spring/appConfig.java</param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <servlet> <servlet-name>dispatcher</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <init-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:/config/spring/webConfig.java</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>dispatcher</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> </web-app> ``` 这样,我们就完成了Spring+SpringMVC+MyBatis框架技术整合。在实际开发中,我们可以根据需求进行修改和调整。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值