tag:blogger.com,1999:blog-72178705733791175972024-03-19T09:31:09.131+02:00Improve your life Through Science and ArtWhen professionalism comes in to play, so don’t miss it.Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.comBlogger312125tag:blogger.com,1999:blog-7217870573379117597.post-59541531668335078792016-08-14T22:14:00.000+02:002017-03-21T10:43:31.280+02:00Java SE 8 new features tour: Calculating timespans with the new DateTime APICleaner, readable, and powerful coding with Java SE 8 New DateTime API JSR 310 .....
Java SE 8, JSR 310
In this article of the “Java SE 8 new features tour” series, we will deep dig into explanation, and exploring the code of JSR 310 specification, on how to Calculating timespans with the new DateTime API, Calculating time spans with Instant and Duration, Representing date and time values, Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt33.2771073 52.361337829.857163299999996 47.197763800000004 36.6970513 57.5249118tag:blogger.com,1999:blog-7217870573379117597.post-16697424068447676132015-07-25T21:41:00.000+02:002016-08-05T22:27:58.926+02:00Java SE 8 new features tour: Processing Collections with Streams APICleaner, readable, and powerful coding with Java SE 8 Streams.....
In this article of the “Java SE 8 new features tour” series, we will deep dig into explanation, and exploring the code, on how to traversing collections with streams Creating streams from collections and arrays, Aggregating stream values.In the previous article “Traversing, filtering, processing collection, & methods enhancements Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Street 1, Wadi Hofe, Cairo Governorate, Egypt27.994401411046145 33.39843750.56640291104614349 -7.9101564999999994 55.422399911046142 74.7070315tag:blogger.com,1999:blog-7217870573379117597.post-37652014591704128982015-07-04T00:34:00.000+02:002015-07-04T00:34:11.035+02:00My JavaFX 8 essentials book is now available on Packt and Amazon
JavaFX essentials Book
I would like to take this opportunity to announce that my book "JavaFX 8 essentials" has been published yesterday on Packt publishing web site and Amazon.com as well.
This is my first post for this year 2015, it really was a very hard task and it took around 8 months of writing with all the other book stages till the publication, especially the changes that has been Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Middle East26.745610382199022 30.234375-0.68240811780097843 -11.074219 54.173628882199026 71.542969tag:blogger.com,1999:blog-7217870573379117597.post-26155459940858643972014-11-30T00:41:00.000+02:002015-07-19T01:06:01.607+02:00Java SE 8 new features tour: Traversing, filtering, processing collection, & methods enhancements with LambdaCleaner, readable, and powerful coding with lambda expressions.....
In this article of the “Java SE 8 new features tour” series, we will deep dig into explanation, and exploring the code, on how to traverse the collections using lambda expression and with method references, filtering them with predicate interface, implementing default methods in interfaces, and finally implementing static Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Street 1, Wadi Hofe, Cairo Governorate, Egypt28.304380682962783 29.88281250.876379682962785 -11.4257815 55.732381682962782 71.1914065tag:blogger.com,1999:blog-7217870573379117597.post-20640983894373968682014-09-20T15:06:00.002+03:002014-09-20T23:57:42.537+03:00NetBeans: 8.0.1 Released with bunch of out-of-the-box tools = productivity++In every NetBeans release it provides out-of-the-box tools that leverage the java standards and other tools toward the web standards, alongside great papular market tools that increases developer daily productivity.
NetBeans editor analyzes code to work efficiently with great tips and refactoring templates for more clear and cleaner code, provides migration from other JDKs toward Java 8, and it Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Street 1, Wadi Hofe, Cairo Governorate, Egypt26.431228064506438 30.5859375-0.99671243549355992 -10.7226565 53.859168564506433 71.8945315tag:blogger.com,1999:blog-7217870573379117597.post-19861361465073939712014-08-10T11:28:00.000+03:002014-08-10T11:45:36.145+03:00IDE: 5 most favorite NetBeans featuresDevelopment with pleasure....
NetBeans has many interesting features that make development very easy, with few steps, and makes for a very productive environment, in terms of getting your product to market very quickly.
It is very hard to limit my talking to only five features, while this IDE has tons of interesting features. But here I am going to mention my most favorite 5 features I am daily Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt29.2985278 42.5509603000000421.2447727999999998 1.2423663000000431 57.3522828 83.859554300000042tag:blogger.com,1999:blog-7217870573379117597.post-162568904613062212014-06-30T11:18:00.001+02:002014-07-22T04:14:19.527+02:00Java SE 8 new features tour: Functional programming with Lambda Expression.Understanding lambda expressions....
This article of the “Java SE 8 new features tour” series will deep dive into understanding Lambda expressions. I will show you a few different uses of Lambda Expressions. They all have in common the implementation of functional interfaces. I will explain how the compiler is inferring information from code, such as specific types of variables and what is reallyMohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt27.442632659283515 28.488460300000042-0.6111223407164843 -12.820133699999957 55.496387659283513 69.797054300000042tag:blogger.com,1999:blog-7217870573379117597.post-14594949643276038472014-06-16T12:33:00.001+03:002016-08-14T22:41:38.638+02:00Java SE 8 new features tour: The Big change, in Java Development world.I am proudly one of the adopt-OpenJDK members like others professional team members, but joined from last 8 months, during this period, we went through all the stages of Java SE 8 development, compilations, building, coding, and many discussions … etc., until we bring it to the life. And it is released on March 18th 2014 and it is now available for you.
I am happy to announce about this series “Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Smart Village, القرية الذكية، Abou Rawash, Giza, Egypt30.0770155 31.01917509999998430.049534 30.978834599999985 30.104497000000002 31.059515599999983tag:blogger.com,1999:blog-7217870573379117597.post-84644431424616310472014-06-09T16:27:00.002+03:002014-06-09T16:28:26.001+03:00Speaking activities during year 2014Here are my speaking activities, during this year of 2014, Thanks for inviting organizations, JUGs, and international conferences.
I hope to see you all in my sessions, workshop, answers your questions and added value to you.
List of places, dates, and sessions titles:
Deliver and present the following talks in many conferences world wide, as part of sharing my experiences and evangelist the Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0London, UK51.508515 -0.1254871999999522851.192402 -0.77093419999995227 51.824628000000004 0.51995980000004771tag:blogger.com,1999:blog-7217870573379117597.post-35098978860843537422014-06-08T23:53:00.001+03:002014-06-08T23:59:11.864+03:00JEEConf 2014, Kiev, Ukraine trip report
Very busy May.
This May 2014 was a very busy month for me, I was so busy at work but thankfully I have finished all my heavy-duty tasks and left other managed tasks to my team to finish it till my back from my international trips.
My Trips
In last May 2014, first I went to Tunis, Tunisia, speaking at Esprit JUG Day 2014 on 7th and 8th of May, delivering the following 4 sessions:
1- What is Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Street 1, Wadi Hofe, Cairo Governorate, Egypt28.683512164995182 31.3009603000000420.62975716499518342 -10.007633699999957 56.737267164995181 72.609554300000042tag:blogger.com,1999:blog-7217870573379117597.post-48226173811778306292014-05-14T11:22:00.002+02:002014-05-21T16:50:44.087+03:00Interview with me in Tunisian Hannibal TV about Esprit JUG DAY 2014
This is an interview with me in Tunisian Hannibal TV about Esprit JUG DAY 2014, my participation, what I liked and what I would like to see in future EsprIT Jug days.
It is my pleasure and a great value to me that you proud of me, I am proud to be part of my Tunisian people and I consider it my country, changing our experience, I liked your school and the way you teach the great students you Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0London, UK51.508515 -0.1254871999999522851.192402 -0.77093419999995227 51.824628000000004 0.51995980000004771tag:blogger.com,1999:blog-7217870573379117597.post-48257061205407379632014-04-14T14:58:00.001+02:002014-04-14T14:58:44.750+02:00Developer options does not exist on Android 4.2+While I am testing my android application, it is a good practice to test on real devices as much as I can.
I was testing my APK file on devices but it failed, while on emulators it runs successfully, so I need to enable debugging with logCat bundled with Android ADT (eclipse or new Android studio IDE).So you need to connect your device to your computer via OEM USB driver, to deploy debugging APK Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt27.683528083787756 29.88281250.3008450837877561 -11.4257815 55.066211083787756 71.1914065tag:blogger.com,1999:blog-7217870573379117597.post-22373267804588774872014-03-16T15:08:00.000+02:002014-03-16T15:28:18.745+02:00JavaSE: How to SET/GET your own Files and Directory AttributesIn the previous article "Determining Views Supported by a Particular File System" and see how to ask the file system store, and see supportability of a particular file attribute view.
We are going to explore in a nutshell, one of the most advanced and important files attribute views which is User-Defined File Attributes View.Particularly, I am using this feature a lot in my exchanged files Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt26.115985925333536 32.6953125-1.2735465746664651 -8.6132815 53.505518425333534 74.0039065tag:blogger.com,1999:blog-7217870573379117597.post-32948688531393454262014-03-13T12:21:00.000+02:002014-03-13T12:28:22.408+02:00JavaSE 7,8: Determining Views Supported by a Particular File SystemIf you have questions about a file or a directory, such as whether it is hidden, whether it is a directory, what its size is, and who owns it, you can get answers to those questions (and many others) from the metadata, which is data about other data.
NIO.2 associates the notion of metadata with attributes and provides access to them through the java.nio.file.attribute package. Since different Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt25.482951175355311 33.75-1.9065813246446908 -7.5585939999999994 52.872483675355312 75.058594tag:blogger.com,1999:blog-7217870573379117597.post-3279998483506816312014-03-02T14:06:00.000+02:002014-03-02T14:06:55.499+02:00Creating right mobile icons sizes for Android, iOS and Windows applications.
p.MsoNormal { margin:0cm; margin-bottom:.0001pt }
table.MsoTableMediumGrid3Accent1 { border:solid white 1.0pt}
I am developing a mobile application that will serve all Egyptians people for a critical national project.
It a service and management based mobile application which is related to Fuel locations finder and Customers fuel subsidy management card System.It will be released soon by the Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt30.0444196 31.23571160000005929.934475600000003 31.074350100000057 30.1543636 31.39707310000006tag:blogger.com,1999:blog-7217870573379117597.post-17798858451050724822014-01-13T21:43:00.000+02:002014-01-13T21:45:58.265+02:00Microsoft: Adding IntelliSense for jQuery in WebMatrix and Microsoft development tools.I had the opportunity to work with HTML5 APIs and jQuery development inside Microsoft WebMatrix, it is a light IDE and installed with libraries and extensions that made development richer.
In order for WebMatrix to really be a useful as an editor for jQuery, I really wanted to have IntelliSense support for jQuery. However, the annoying issue is that WebMatrix does not have a built-in Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0tag:blogger.com,1999:blog-7217870573379117597.post-5131581444576481292013-12-27T22:33:00.000+02:002013-12-27T22:38:54.142+02:00JSF: Passing parameters to JSF action methods from page directly, a nice feature of JavaEE 6+One of the JSF 2+ nice features presented in Java enterprise edition JavaEE 6+, is that you can pass parameters to any action components action method like commandButton or commandLink components.
Based on that you can minimize the number of methods inside your managed bean.
In addition, to minimize many parameters to set inside the bean to be used by action to decide navigation logic, which Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Street 1, Wadi Hofe, Cairo Governorate, Egypt25.799891182088331 31.640625-1.6281123179116683 -9.667969 53.227894682088333 72.949219tag:blogger.com,1999:blog-7217870573379117597.post-73390401197322126602013-12-24T16:07:00.001+02:002013-12-24T16:50:41.737+02:00Oracle: ORA-00600 raised when creating triggers on 11g using JDeveloper or SQL DeveloperWhile I was preparing my database migration script for my project to satisfy specific version requirements, and as usual test it against database before submitting it to QA team. I got the following error with each "CREATE TRIGGER":
<![CDATA[
Error starting at line : 1,846 in command -
CREATE OR REPLACE TRIGGER "MAF"."CITY_TRG"
BEFORE INSERT ON CITY
FOR EACH ROW
BEGIN
<>
BEGIN
IF Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt29.2985278 42.5509603000000421.2447727999999998 1.2423663000000431 57.3522828 83.859554300000042tag:blogger.com,1999:blog-7217870573379117597.post-15227809324101134782013-12-09T15:41:00.000+02:002013-12-09T15:41:01.430+02:00Android: Boost up the Android emulator speed up to 400% on Intel based architectureIn my previous post How to inject Android compiled .apk package into its Device Emulator from the command line. I have demonstrated how to add your compiled .apk file to android emulator, from command line with adb command, included in ADT platform tools.
One of my friends commented:
"Are u really using the emulator.....it is very slow. Even on the fastest machines. I always use a real device."Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt36.778261 -119.4179323999999823.886873 -140.07222939999997 49.669649 -98.763635399999984tag:blogger.com,1999:blog-7217870573379117597.post-34093903447604653592013-12-05T23:56:00.000+02:002013-12-09T15:46:28.969+02:00Android: How to inject Android compiled .apk package into its Device Emulator from the command line.I am developing multi-platform (iOS, Android, Windows, and Blackberry) hybrid mobile application for fuel stations finder, I am developing on Adobe Dreamweaver CC, and using Cordova, and PhoneGap tools as well for compilation and final apk, ipa, exe binaries.
I am using Cordova for compiling the mobile application on both windows and Mac. Moreover, I want to test my compiled (.apk) application Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Street 1, Wadi Hofe, Cairo Governorate, Egypt30.0444196 31.23571160000005929.934475600000003 31.074350100000057 30.1543636 31.39707310000006tag:blogger.com,1999:blog-7217870573379117597.post-38321343793625012642013-12-04T17:46:00.000+02:002013-12-04T17:46:12.807+02:00JavaDay 2013: JCP & Adopt Kick off & What’s new in Java SE, EE, ME, Embedded world & new Strategy"What’s new in Java SE, EE, ME, Embedded world & the new Strategy" and "Drive yourself, community with JCP & adopts to professionalism" sessions
I would like to share my successfully Java day story, and my happens by the response of my last event.
I have successfully ran a JCP Kick off session titled "Drive yourself, community with JCP & adopts to professionalism" 2 hours followed by a session Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt26.431228064506438 28.4765625-0.958304435493563 -12.8320315 53.820760564506443 69.7851565tag:blogger.com,1999:blog-7217870573379117597.post-30719699303935029552013-10-19T03:20:00.003+02:002013-10-19T03:20:53.785+02:00JavaOne 2013 Rocks, and Java back to Glory days this year (Trip report)IntroductionYeah late report, but I am back since fourth of October, and having a strong workload. I am working on Enterprise Hybrid mobile application for almost main four different mobile platforms (iOS, Android, Windows 8, BlackBerry) that will serve the Egyptians all over the country, because it is part of our National project for "Fuel subsidy management System" applications, This mobile Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Street 1, Wadi Hofe, Cairo Governorate, Egypt26.745610382199022 30.234375-0.68238711780097816 -11.074219 54.173607882199022 71.542969tag:blogger.com,1999:blog-7217870573379117597.post-47620574062498925382013-09-13T01:21:00.001+02:002013-09-13T01:21:29.918+02:00JavaOne & OpenWorld 2013 Activities: One TUT Session, 2 JCP prize nominations, Oracle EMEA partner Dinner, and Architect club café member.
JavaOne and Oracle OpenWorld 2013:
Here are my activities during JavaOne and Oracle Open World 2013, San Francisco, California, USA, this year I have a lot of activities to do:
Build.now(); True Real-Time Applications with Java EE 7 (A Hack Session) [TUT1805]
This is for the second year; I have the chance to speak at JavaOne 2013. Last year my talks at JavaOne 2012 were about JDK7 NIO.2, Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Street 1, Wadi Hofe, Cairo Governorate, Egypt15.284185114076445 52.73437515.284185114076445 52.734375 15.284185114076445 52.734375tag:blogger.com,1999:blog-7217870573379117597.post-83533526997831777392013-09-07T04:37:00.001+02:002013-09-07T04:37:22.448+02:00HTML5: Parse and Generate JSON data using only Javascript, no external APIs.JSON
JavaScript Object Notation (best known as JSON) is a lightweight data interchange format known to be compatible with almost every language in common use. It is sometimes used in JavaScript as a replacement for other transport formats, like XML.
JSON is a lightweight, text-based, language-independent data exchange format that is easy for humans and machines to read and write. JSON can Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt24.846565348219734 30.234375-2.5814281517802655 -11.074219 52.274558848219733 71.542969tag:blogger.com,1999:blog-7217870573379117597.post-26316254074173501922013-09-05T14:07:00.000+02:002013-09-05T14:09:15.037+02:00jQuery: Disabling the native right-click contextual menu of the browserSometime you need to disable the default right-click context menu of the browser, on your web site, here is how to do it.
By using JavaScript, you can disable the browser’s native right-click contextual menu. Doing so with jQuery is a snap. We simply cancel the contenxtmenu event.
To test the functionality on your page, copy and paste the following code into index.html blank page:
<![CDATA[
&Mohamed Tamanhttp://www.blogger.com/profile/14806768946804079737noreply@blogger.com0Cairo - 28 Alex Desert Rd, Smart Village, Giza, Egypt26.431228064506438 29.8828125-0.9514614354935631 -11.4257815 53.81391756450644 71.1914065