MuleSoft: Using a Groovy Component

2016-07-19 11:09:05

While working with MuleSoft, we would often like to pause process execution for while and continue later. Normally in Java, we can use the sleep() method to achieve that. But with Mule, the Groovy component has the answer.Sample Use CaseLet's consider a flow where a file component will poll files from a particular location and will push them to specified target location. We would like to hold the file for a particular interval (say three seconds) and then push it outbound.ImplementationWe can achieve that by using the Groovy component, followed by implementating the sleep method within it. 1. First, create a Mule project followed by a flow-apstartFlow1.2. Add and configure the file component as inbound and outbound. Add a Groovy component between the two file components:3. Add a script in the Groovy configuration:4. Save and run the application.5. The console log will contain the message specified in the script:Note: I have used Mule runtime 3.8 while taking the screenshots.So, with that, we have seen that the Groovy component is useful for implementing some custom business requirements.

Tesla crash raises stakes for self-driving vehicle startups

2016-07-12 08:44:17

DETROIT/SAN FRANCISCO Concerns raised by the first reported fatality in a semi-automated car were expected to speed adoption of more sensitive technology to help vehicles see and drive themselves safely, increasing demand on the emerging autonomous vehicle technology industry, investors and analysts said.Goldman Sachs forecasts the market for advanced driver assistance systems and autonomous vehicles will grow from about $3 billion last year to $96 billion in 2025 and $290 billion in 2035. More than half of that revenue in 20 years, Goldman estimates, will come from radar, cameras and lidar, a sensor that uses laser – all tools considered essential to building vehicles that can pilot themselves.The May 7 death of Ohio technology company owner Joshua Brown in a Tesla Motors Inc (TSLA.O) Model S while the car's semi-automated Autopilot system was engaged highlighted the limitations of current automated driving systems.Tesla’s Autopilot system uses cameras and radar, but not lidar. The company said its system would have had trouble distinguishing a white semi-trailer positioned across a road against a bright sky.Industry executives and analysts told Reuters they expect the Tesla crash will spur investment in self-driving vehicle systems that combine multiple of sensors, including lidar."As we move to a higher level of autonomy in vehicles, you’re going to want to have more redundancy," which radar and lidar can provide, Dan Galves, senior vice president at vision safety system maker Mobileye NV(MBLY.N) , said in an interview. "The more sensors, the better."Carmakers have been using multiple sensors in prototypes that are in testing but not yet ready for market. A variety of technologies with overlapping capabilities is seen as a way to increase safety under a wider range of circumstances.The valuations of some self-driving startups "may even increase if there are companies that can solve some of the issues" the Tesla accident raised, said Quin Garcia, managing director of AutoTech Ventures, a Silicon Valley investment firm.Semi-automated systems such as General Motor Co's (GM.N) SuperCruise and Traffic Jam Pilot from Volkswagen AG's (VOWG_p.DE) Audi are due on the market in 2017-2018. Ford Motor Co(F.N) expects to deploy a semi-automated system, using Velodyne lidar, in 2018. Toyota Motor Corp(7203.T), which is investing more than $1 billion in such self-driving technologies as robotics and artificial intelligence, said it aims to put fully driverless cars on the road in time for the 2020 Tokyo Olympics.Delphi Automotive PLC (DLPH.N) plans to build lidar vision systems with technology from Quanergy Systems, which makes solid state lidar systems. Delphi plans to combine information from the lidar system with radar and other driver assistance technology to create a 360-degree view around a car, a company official said. Delphi has an investment in Quanergy, one of more than 50 self-driving startups that together have raised more than $800 million in investment capital in the past decade, according to a Reuters analysis of publicly available data.At least two of those startups - Quanergy which makes solid state lidar sensors, and Zoox, which is developing fully automated vehicle systems - have jumped in value to more than $1 billion each since GM's $1.2-billion acquisition earlier this year of another self-driving startup, Cruise Automation.Quanergy and Zoox hope to follow the lead of Mobileye, an Israeli supplier of vision-based safety systems to 25 global automakers, including Tesla. Co-founded in 1999 by a computer science professor at Hebrew University, Mobileye went public in 2014 and today is valued at nearly $10 billion.Mobileye plans by 2020 to offer a hardware/software system that can gather, fuse and analyze data from 20 different sensors, including cameras, lidar and radar. The company's new EyeQ5 "system on chip" will be a key component in a fully autonomous driving system that is being jointly developed with BMW AG (BMWG.DE) and Intel Corp (INTC.O) and is aimed at production in 2021.Like Mobileye, Velodyne, a leading supplier of laser-based lidar systems, works with many of the world’s top automakers, including Ford, GM, BMW, Toyota Honda Motor Co(7267.T) and Daimler AG’s (DAIGn.DE) Mercedes-Benz."Our clients want to (combine) lidar and cameras," Velodyne's Marta Hall, president of business development, told Reuters in an interview. Automakers are stepping up orders as lidar systems come down in size and price, she said. Among the potential beneficiaries of this growing interest is LeddarTech, a relatively young startup based in Canada's Quebec City. The company is providing LED-based lidar systems to French supplier Valeo (VLOF.PA), which also buys vision-based systems from Mobileye.Germany's Robert Bosch, which has been developing self-driving components and systems for more than 15 years, buys lidar from an unnamed Tier II supplier and intends to package it in a highly automated “highway pilot” system intended for series production in 2020, said spokesman Tim Wieland."Bosch sees the necessity for a sensor setup that includes radar, video and lidar," Wieland said. The three sensors "complement each other very efficiently."REGULATION AND LITIGATION WILD CARDS Regulation and litigation are two big wild cards for the autonomous driving sector.Safety regulators and industry executives have said self-driving cars ultimately could slash traffic fatalities – about 35,000 last year in the United States and more than 1.2 million globally - by up to 90 percent. But regulators are also concerned that drivers could be lulled into unsafe behavior by systems that take control for a time, but expect human operators to re-take command in an emergency.The National Highway Traffic Safety Administration is investigating the role of Autopilot in the Florida accident and another crash in Pennsylvania involving a Tesla vehicle. The agency also is expected to roll out this summer broad guidelines for deploying autonomous vehicle technology."I hope NHTSA does not overreact" to the crash, said Stefan Heck, co-founder of Nauto, another Silicon Valley self-driving startup with corporate backing. "The tradeoff is quite clear: Some safety improvement is better than none."Product liability for automated vehicles is uncharted territory. The U.S. Transportation Department has said an automated driving system could be considered the "driver" for regulatory purposes.Industry executives are betting that consumer interest in the technology will rise.A survey conducted by AlixPartners in June - before the Tesla accident was reported publicly - found that 90 percent of respondents would be interested in a self-driving car that would let the driver take the wheel from time to time. The same survey noted that nearly 80 percent of respondents would pay for the technology - including 10 percent who would spend up to $5,000.The favorable response rates are much higher than in previous surveys on self-driving technology.News of the Tesla crash "is not going to put too much of a dent in public perception" of self-driving cars, said AlixPartners' Mark Wakefield. (Reporting by Paul Lienert in Detroit and Alexandria Sage in San Francisco; Editing by Joe White and Lisa Girion)

Israel's high tech boom threatened by shallow labor pool

2016-07-04 21:59:17

TEL AVIV In the high tech hub of Tel Aviv, where companies have been responsible for ground-breaking advances like the USB stick, Or Offer never thought it would be hard to find workers for his fast-growing Internet data firm SimilarWeb.But an alarming lack of engineers, technicians and even doctors, which is jeopardizing Israel's place among the world's technological elite, sent him looking abroad."There's a brutal fight over skilled employees," said Offer, whose company has quadrupled in size in the past two years, hiring over 200 new people.To boost the technical side of the business that analyzes website data, he set up a development center in Ukraine.Without the huge populations of emerging markets like India or the vast network of foreigners who call Silicon Valley home, Israel's high tech enterprise seems to have dried out the well.Over the next decade it will face a shortage of about 10,000 engineers and programmers in a market that currently employs 140,000, according to the country's chief scientist, Avi Hasson, who is the government's point man on sustaining innovation."The issue of skilled and available manpower is the main barrier to growth and competitiveness in the field of high tech," Hasson said.The industry, which sprouted from an advanced military and flourished with state backing, became a major growth engine and investment magnet for Israel.Multinationals like Apple, Intel and Google have been eager to snap up local start-ups and set up research centers. High-tech goods and services now account for 12.5 percent of Israel's gross domestic product and half its industrial exports.Younger firms are noticing the skills problem as they compete for workers with the global giants operating in Israel."There are a lot of international players around, coming in with deep pockets. Facebook, Google and others can make offers 50 percent above market and equity packages that are very lucrative," said Nir Zohar, president of website-designer, which is known for its big-budget Super Bowl ads. "It's becoming harder and harder with the amount of effort you need to put in to recruit." HUMAN CAPITALSince taking office in 2013, Bank of Israel Governor Karnit Flug has been sounding the alarm over the threat to Israel's pool of "human capital".An aging population, lagging education and poor integration of Israel's Arab and ultra-Orthodox Jewish minorities in the labor market is making the workforce less effective, she said in a May speech. Combined, Israeli Arabs and ultra-Orthodox Jews make up about 30 percent of the population.Nearly half the country's doctors, for example, are 55 or older — the highest figure in the Western world — while the rate of students completing medical school is among the lowest.University graduates in maths and computer science fell to 1,600 in 2008 from 3,000 in 2005. The figure has recovered, but not returned to prior levels. Israel is ranked 17 among the 34 members of the OECD in the ease of finding skilled workers. Tech companies prospered for years by tapping into the skills of workers trained in the military or intelligence sectors and start-ups benefiting from tax breaks and government funding. But those are drying up.Two years ago Israel lost the top spot it held for more than a decade among the OECD when it comes to investment in research and development, mainly due to a steep drop in government investment. South Korea is now top of the tree.Ultra-Orthodox Jews and Arabs rarely serve in the military and are marginalized from the high tech industry. The government is now implementing a number of programmers to include them, like improving language skills and special training.VISAS Feeling the heat, firms have been fighting to bring in qualified foreigners to ease the stress."In Israel, to get a work permit is harder than to make peace," said Eldad Tamir, head of the Tamir Fishman Investment House and a partner in Eucalyptus Growth Capital, a fund that invests in high tech companies.Tamir's partner in Eucalyptus, David Perlmutter, former chief product officer at Intel, lamented that Israel imports labor for agriculture and construction but not for technology."If you look at other countries that want to develop, they bring in workers. All of Silicon Valley is based on that. Here it doesn’t happen," he said.Nearly 75 percent of computer and math workers aged 25-44 employed in California's Silicon Valley are foreign-born, according to the Silicon Valley Institute for Regional Studies.In the 1990s, the influx of one million immigrants from the former Soviet Union helped fuel Israel's high-tech boom. Today about 30,000 people arrive annually, but it is not enough to meet the demands of the growing industry."Israel was built in a very homogenous way in terms of our innovation ecosystem. We did import talent, but only Jewish talent," and that needs to change, said Hasson.Only an "anecdotal" number of foreign high tech workers are being brought in today, Hasson said, referring to a smattering of cases like the U.S.-born CEO of TowerJazz who over the past decade helped turn around the ailing chipmaker.He said Israel would soon begin a pilot for issuing a few hundred work visas a year, but it's unlikely to be enough. (Editing by Luke Baker and Dominic Evans)

Red Hat Summit/DevNation: Tightening the Knot With Microsoft

2016-06-28 02:24:42

Earlier today at Red Hat DevNation in San Francisco, the open source giant announced new products and partnerships, in part celebrating the ten years since Red Hat bought JBoss and entered the application development market.Microsoft and Red Hat Tighten the KnotAfter Microsoft open sourced the .NET Core language in 2014, they announced a strategic partnership with Red Hat in 2015, promising that .NET would be available on Red Hat Enterprise Linux (RHEL). Now, .NET Core is available on both RHEL and OpenShift via containers. According to Red Hat, this makes RHEL the "only commercial Linux distribution to feature full, enterprise-grade support for .NET, opening up platform choice for enterprises seeking to use .NET on a flexible Linux and container-based environments."Red Hat points out that the benefits of this integration include setting up microservices that use different components while also running on the same platform, a non-Windows Server infrastructure for running .NET apps, and access to more languages within OpenShift.  It looks like a win-win for both companies. Microsoft gets to prove that their recent push into open source software is genuine, and Red Hat gets to add more functionality to two of their flagship projects. EAP 7 is ReleasedIn addition to announcing the general availability of JBoss EAP 7, Red Hat also released the JBoss Core Services Collection, a set of common and fundamental application components. These components include SSO, load balancing, proxying, and monitoring capabilities.Red Hat's primary goal with EAP 7 was to make it easier for companies to move their Java apps to new architecture models, like microservices, and establish DevOps practices within their organizations. EAP7 also contains:Java EE 7 APIsJBoss Developer Studio IDEJenkinsArquillanMavenSeveral JavaScript frameworksAnd Now for Something Completely Different...You may have caught wind of this before now, but DZone's own Sam Atkinson presented at DevNation earlier today with "Learning From Astronauts On How to Be Better Developers". Our editor-in-chief, John Esposito, is on the floor as well, so if you see anyone wearing our t-shirts, be sure to say hi! You'll be able to catch Sam's presentation once the videos are uploaded at this link. I'm sure he'll have something to say about it once the show's over. For more information about Red Hat's upcoming releases, check out their blog posts:Red Hat Delivers EAP 7.NET Core Now Available

Java EE's Future (From JCP EC Meeting Minutes)

2016-06-24 09:52:13

If you’ve been following Java EE related news over the past few months, you’ll know that Oracle cut back on a number of its Java Evangelist employees; others such as Reza Rahman appear to have left of their own accord; and there’s a general concern than Oracle appears to have slowed down input on any Java EE JSR. Rahman has formed a group called the Java EE Guardians to drive community activity to support future development of Java EE and EE JSRs.If you want more of an inside view to what’s going on, there’s some interesting reading in the form of the JCP Executive Committee meeting minutes which are public record. The minutes for June 2016 and May 2016 both had agenda items to discuss the future of Java EE. The minutes from the May meeting are very interesting, including comments such as :“…concern that Oracle, despite its role as steward of Java, has not made any public statements or explanations for the apparent lack of activity on Java EE”...and recording of a statement to Oracle from the JCP Executive Committee formally voicing their concern:“EC members expressed their serious concerns about the lack of progress on Java EE. They believe that Java EE is critical to the Java ecosystem and to their organizations and customers. They fully accept Oracle’s right to direct its investment where it wishes, but expressed the hope that they and other members of the Java community be permitted to step in and help with the ongoing development of the platform, particularly in areas where Oracle wishes to reduce its investment. They therefore requested a dialog with Oracle about how to make such a transition.”Another concern recorded in the minutes was that Oracle holds IP rights for the majority of the JSRs that are in progress, and so passing responsibility on to other parties requires Oracle’s involvement to pass on ownership of this IP… something which they may agree to, or may not.Minutes from April 2016 note:“Martijn Verburg reported on behalf of the London Java Community that it now seems clear that little if any progress is being made on Oracle-led Java EE JSRs. (Some Oracle Spec Leads have admitted publicly that they are unable to spend any time on their JSRs, having been directed to work elsewhere.) He estimated that work on Java EE seems to have stopped around November 2015.”So, it’s clear there is industry concern that Oracle has backed off from involvement with the development of JSRs for Java EE8. The question is, what happens now?

Older Post
U.S. Commerce Department to place restrictions on China's ZTE
Stripped-down synthetic organism sheds light on nature of life
EU charges Google with abusing Android market dominance