BT

如何利用碎片时间提升技术认知与能力? 点击获取答案

Java的序列化特性将要退出历史舞台了

| 作者 Alice 关注 0 他的粉丝 发布于 2018年5月28日. 估计阅读时间: 2 分钟 | QCon上海2018 关注大数据平台技术选型、搭建、系统迁移和优化的经验。

甲骨文公司正计划将安全方面的一大棘手难题对象序列化功能从Java当中剔除出去。这项功能亦被称为Java对象序列化,主要用于将对象编码为字节流形式。除了用于轻量化持久性与通过套接字或Java RMI进行通信之外,序列化功能还支持从字节流中重构对象图。

甲骨文公司Java平台部门首席架构师Mark Reinhold表示,去除序列化机制是一项长期目标,亦是其专注于面向Java语言功能生产力强化目标的Amber项目的重要组成部分。

为了替换现有序列化技术,甲骨文方面将在相关记录(即Java版本的数据类)获得支持之后,向Java平台中添加一套小型序列化框架。该框架能够支持记录图,而开发人员亦可接入自己选择的序列化引擎、支持JSON或XML等格式,并以安全方式实现记录序列化功能。不过Reinhold目前还无法确定记录功能将正式登陆Java的哪个版本。

根据Reinhold的说法,序列化功能堪称诞生于1997年的一个“可怕错误”。他估计,至少有三分之一甚至是半数Java安全漏洞都与序列化机制有关。序列化总体而言存在巨大安全风险,但Reinhold表示其在简单用例当中的出色易用性仍具有一定吸引力。

最近,Java刚刚迎来了过滤功能,因此如果开发者必须在网络之上使用序列化功能且愿意接受不可信序列化数据流,则可借此选择需要过滤掉的类以实现针对序列化安全弱点的防御机制。Reinhold指出,甲骨文公司目前收到大量运行在网络之上的应用服务器的报告,并发现其中相当一部分在未受保护的端口上使用序列化流。正是为了解决这一问题,过滤功能才应运而生。

最后,推荐一个极客时间最新上线的专栏,用讲故事的方式帮你学习和理解网络协议。

评价本文

专业度
风格

您好,朋友!

您需要 注册一个InfoQ账号 或者 才能进行评论。在您完成注册后还需要进行一些设置。

获得来自InfoQ的更多体验。

告诉我们您的想法

允许的HTML标签: a,b,br,blockquote,i,li,pre,u,ul,p

当有人回复此评论时请E-mail通知我

Assignment Help by Michael Jones

Hi, I am a marketing manager at All Assignment Help; it is an online platform which offer Assignment help for all university students. We have a team of professional writers & provide best solution according to given guideline.
www.allassignmenthelp.com/

Ignou MA English Solved Assignment 2017-18 MEG by kris martin

when I was studying computer science I always afraid of java because it was quite hard then c and c++, But now since I am working in Ignou mapc Project I got number of senior who helped me a lot

Kris by kris martin

Ignou project offer all courses of ignou project and synopsis to the students. Check our website for help in project writing and solved assignment.

cryptocurrency list by russo Jospeh

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. cryptocurrency list

Saryn Prime by russo Jospeh

Nice article! I find this article very informative and it is also well-structured. I am bookmarking your blog, could come handy in future. Saryn Prime

Assignment writing help by Alexis Peterson

If you are in need for online writing assistance for an intricate thesis topic, then avail our assignment writing service in U.S. and save your time to relax and do your studies properly. Our assignment help online service in USA has earned huge popularity among both domestic and international students. There’s no better place in the USA than MyAssignmenthelp.com. Contact us now to buy assignments online in the USA Leave your tensions to us and enjoy your free time.

Essay Writing Service by Jennifer Lee

I’m really impressed with your article, such great & useful knowledge you shared here. I also want to share some helpful information regarding academic help.
myessayhelp.co.uk/

my assignment help by olivia crew

Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists.
visit here for more info:- www.livewebtutors.com/my-assignment-help

Programmable SMS by Mary elbert

Text messaging over the span of promoting has changed into Bulk SMS benefit. Driving organizations currently depend on sending boundless instant messages to their clients. You can likewise consolidate the mix of mass SMS with a robotized Programmable SMS process.

Java Homework Help by Johnson Michelle

Are you tried to run from one tuition to the other? Are you having short on time? Then switch on to my homework help and get the best assignment help China online so that you can save your time and also your energy. Your assignments will be very interesting, and our best teachers will help you so that you don’t have to face any problem regarding your assignments. Want to score more in programming? Get guaranteed successes with my homework help java programming assignment help. Our team of professionals knows to keep their value by delivering the best ever service. The prepared assignment will reflect the dedication and commitment put across that will help you to attain high grades.

Java Homework Help by Evelyn Minnick

Have you been wondering how to improve your programming skills? Home tutors will fail to provide you the edge required to ace the class. Opt for our Java Script assignment Help and learn to code like never before taking guidance from professionals. With our talented tutors we give 24 hours tutoring, learn at your convenience and become an expert yourself. Check out our online tutors at 24x7assignmenthelp now!

Java Assignment Help by Paul Isteni

Hii! Myself Poonam Walker.I am a Java Developer in USA.I Provide all type assignment help and all type of programming help.So If you need Java Assignment Help then fel free to contact me.
I will solve your problem using best of our skills.

This Party is Over Now by Hiba Nawab

Hi! Myself Hiba Nawab
I am working as a content writer in Delhi.
I Provide Latest songs Lyrics.Visit my website Mummic For Latest Songs Lyrics.

允许的HTML标签: a,b,br,blockquote,i,li,pre,u,ul,p

当有人回复此评论时请E-mail通知我

允许的HTML标签: a,b,br,blockquote,i,li,pre,u,ul,p

当有人回复此评论时请E-mail通知我

13 讨论

登陆InfoQ,与你最关心的话题互动。


找回密码....

Follow

关注你最喜爱的话题和作者

快速浏览网站内你所感兴趣话题的精选内容。

Like

内容自由定制

选择想要阅读的主题和喜爱的作者定制自己的新闻源。

Notifications

获取更新

设置通知机制以获取内容更新对您而言是否重要

BT